diff --git a/opentech/apply/funds/templates/funds/includes/field.html b/opentech/apply/funds/templates/funds/includes/field.html index c2b2dca8b13a0992889b7498fcaa8c813e4af5c6..51c02144e836570e2240c8a97d35aff4450a9cdb 100644 --- a/opentech/apply/funds/templates/funds/includes/field.html +++ b/opentech/apply/funds/templates/funds/includes/field.html @@ -2,7 +2,7 @@ {% with widget_type=field|widget_type field_type=field|field_type %} -<div class="form__group {% if field.errors %}form__error{% endif %}"> +<div class="form__group {% if widget_type == 'checkbox_input' %}form__group--checkbox{% endif %} {% if field.help_text %}form__group--wrap{% endif %}{% if field.errors %}form__error{% endif %}"> {% if widget_type == 'clearable_file_input' or widget_type == 'multi_file_input' %} <span class="form__question">{{ field.label }}</span> <label for="{{ field.id_for_label }}" class="form__question form__question--{{ field_type }} {{ widget_type }}" {% if field.field.required %}required{% endif %}>