presenting job description as form
[qcg-portal.git] / qcg / templates / qcg / tags / bootstrap_checkbox.html
index a0b9926..e5a9178 100644 (file)
@@ -1,6 +1,7 @@
 <div class="form-group{% if field.field.widget.is_required %} required{% endif %}">
     <label class="{{ label_class }} control-label" for="{{ field.id_for_label }}">{{ field.label }}</label>
     <div class="{{ field_class }}">
-        <input type="checkbox" id="{{ field.id_for_label }}" name="{{ field.html_name }}"{% if field.value %} checked{% endif %}>
+        <input type="checkbox" id="{{ field.id_for_label }}" name="{{ field.html_name }}"
+                {% if field.value %} checked{% endif %} {{ attrs }}>
     </div>
 </div>