This commit is contained in:
2018-03-23 17:07:21 +01:00
parent 1a3a3f06b5
commit d314e5738f
3 changed files with 4 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
{% with field.field.widget.input_type as type %}
<div class="form__field{% if label or type == 'checkbox' or type == 'radio' %} form__field--label{% endif %}">
{% if label or type == 'checkbox' or type == 'radio' %}
<label class="form__field__label" for="{{ field.id_for_label }}"><span>{{ field.label }}</span></label>
<label class="form__field__label" for="{{ field.id_for_label }}"><span>{{ field.label }}:</span></label>
{% endif %}
{% if type == 'checkbox' or type == 'radio' %}