|
|
|
|
@ -1,7 +1,10 @@
|
|
|
|
|
{% 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 }}
|
|
|
|
|
<div style="display: none;">
|
|
|
|
|
{{ field.field.widget.input_type }}
|
|
|
|
|
{{ field.widget.input_type }}
|
|
|
|
|
{{ field.input_type }}
|
|
|
|
|
</div>
|
|
|
|
|
{% if label or type == 'checkbox' or type == 'radio' %}
|
|
|
|
|
<label class="form__field__label" for="{{ field.id_for_label }}"><span>{{ field.label }}:</span></label>
|
|
|
|
|
{% endif %}
|
|
|
|
|
|