9 lines
294 B
HTML
9 lines
294 B
HTML
<div class="form-group {% if field.errors %}has-error{% endif %}">
|
|
<div class="checkbox">
|
|
<label>
|
|
<input type="checkbox" name="{{ field.name }}" value="true" {% if field.value %}checked{% endif %}>
|
|
{% if field.label %}{{ field.label }}{% endif %}
|
|
</label>
|
|
</div>
|
|
</div>
|