Skip to content

Commit

Permalink
WIP Issue #15 #19: Move checkboxes and radios error message below the…
Browse files Browse the repository at this point in the history
… set.
  • Loading branch information
Zoltan Horvath committed Nov 29, 2018
1 parent 8d0186f commit ae76d81
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions templates/fieldset.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,18 @@
<span{{ legend_span.attributes.addClass(legend_span_classes) }}>{{ legend.title }}</span>
</legend>
<div class="fieldset__wrapper">
{% if errors %}
<div class="form-item__error-message">
{{ errors }}
</div>
{% endif %}
{% if prefix %}
<span class="form-item__prefix">{{ prefix }}</span>
{% endif %}
{{ children }}
{% if suffix %}
<span class="form-item__suffix">{{ suffix }}</span>
{% endif %}
{% if errors %}
<div class="form-item__error-message">
{{ errors }}
</div>
{% endif %}
{% if description.content %}
<div{{ description.attributes.addClass(description_classes) }}>{{ description.content }}</div>
{% endif %}
Expand Down

0 comments on commit ae76d81

Please sign in to comment.