Skip to content

Commit

Permalink
Remove nested labels #405
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasjuhrich committed Aug 22, 2019
1 parent e393c8d commit 1d103e8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sipa/templates/macros/forms.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
</label></div>
</div>
{% elif field.type == "RadioField" %}
<label class="{{ form_label_width_class }} control-label">
<div class="{{ form_label_width_class }} control-label">
{{ field.label() }}
</label>
</div>
<div class="{{ form_input_width_class }}">
{% for subfield in field %}
<div class="radio"><label>
Expand All @@ -31,9 +31,9 @@
{% endfor %}
</div>
{% elif field.type != "HiddenField" %}
<label class="{{ form_label_width_class }} control-label">
<div class="{{ form_label_width_class }} control-label">
{{ field.label() }}
</label>
</div>
<div class="{{ form_input_width_class }}">
{{ render_field(field, focus=focus) }}
</div>
Expand Down

0 comments on commit 1d103e8

Please sign in to comment.