add errors display for checkbox field
This commit is contained in:
@@ -15,6 +15,9 @@
|
|||||||
<label>
|
<label>
|
||||||
{{ field }} <span>{{ field.label }}</span>
|
{{ field }} <span>{{ field.label }}</span>
|
||||||
</label>
|
</label>
|
||||||
|
{% for error in field.errors %}
|
||||||
|
<span class="help-inline">{{ error }}</span>
|
||||||
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
Reference in New Issue
Block a user