Fix checkbox widget not being rendered in some cases.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-04-03 17:43:18 -04:00
parent bad90c9848
commit 93a1a436a7

View File

@@ -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' %}