Fix checkbox widget not being rendered in some cases.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -75,7 +75,7 @@
|
||||
{% elif field|widget_type == 'checkboxselectmultiple' %}
|
||||
{% for option in field %}
|
||||
<div class="checkbox">
|
||||
{{ option.render }}
|
||||
{{ option }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% elif field|widget_type == 'datetimeinput' or field|widget_type == 'dateinput' %}
|
||||
|
||||
Reference in New Issue
Block a user