Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.

Commit

Permalink
add form group class to address items for spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-lawton committed Feb 8, 2018
1 parent 42c1fe9 commit dbf505d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<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 %}
Expand Down

0 comments on commit dbf505d

Please sign in to comment.