This commit is contained in:
2018-03-26 17:53:48 +02:00
parent dd24521339
commit 4de14e1651

View File

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