Skip to content
Snippets Groups Projects
Commit dbf505d7 authored by Chris Lawton's avatar Chris Lawton
Browse files

add form group class to address items for spacing

parent 42c1fe90
No related merge requests found
<div {% include "django/forms/widgets/attrs.html" %}>{% spaceless %}
{% for widget in widget.subwidgets %}
{% if not widget.subwidgets %}
<div class="form__item">
<label for="{{ widget.attrs.id }}">{{ widget.attrs.display }}</label>
<div class="form__group">
<label class="form__question" for="{{ widget.attrs.id }}">{{ widget.attrs.display }}</label>
{% endif %}
{% include widget.template_name %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment