olympiamanagement/app/views/admin/olympiamanagements/_checkbox.html.erb

5 lines
337 B
Plaintext

<div class="required <%=extra_class%>">
<input name="<%=params_name%>" type="hidden" value="0">
<input <%=is_checked ? "checked=checked" : "" %> class="checkbox" id="<%=id%>" name="<%=params_name%>" style="float:left;" type="checkbox" value="1">
<label class="checklabel" for="<%=name%>" style="float:right;"><%=name%></label>
</div>