Skip to content
Permalink
Browse files

Remove nested labels #405

  • Loading branch information...
lukasjuhrich committed Aug 22, 2019
1 parent 08076c3 commit cca654b5da51a90a87f1a9e5a4494c71db55e3e9
Showing with 4 additions and 4 deletions.
  1. +4 −4 sipa/templates/macros/forms.html
@@ -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>
@@ -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>

0 comments on commit cca654b

Please sign in to comment.
You can’t perform that action at this time.