|
|
@@ -6,8 +6,7 @@
|
|
|
{# Render the field label, except for: #}
|
|
|
{# 1. Checkboxes (label appears to the right of the field #}
|
|
|
{# 2. Textareas with no label set (will expand across entire row) #}
|
|
|
- {% if field|widget_type == 'checkboxinput' or field|widget_type == 'textarea' or field|widget_type == 'markdownwidget' and not label %}
|
|
|
- {% else %}
|
|
|
+ {% if label and not field|widget_type == 'checkboxinput' %}
|
|
|
<label for="{{ field.id_for_label }}" class="col-sm-3 col-form-label text-lg-end{% if field.field.required %} required{% endif %}">
|
|
|
{{ label }}
|
|
|
</label>
|