1. Benoît Bryon
  2. django-formrenderingtools

Commits

Benoît Bryon  committed 84b0ac0

Fixed space between label and field for as_ul and as_p layouts.

  • Participants
  • Parent commits 5919ff5
  • Branches default

Comments (0)

Files changed (2)

File djc/formrenderingtools/templates/form_layouts/as_p/field/default.html

View file
 {% else %}
 {% load form_layouts %}
 {% field_errors %}
-<p>{% label %}{{ field }} {% help_text %}</p>
-{% endif %}
+<p>{% label %} {{ field }} {% help_text %}</p>
+{% endif %}

File djc/formrenderingtools/templates/form_layouts/as_ul/field/default.html

View file
 {{ field }}
 {% else %}
 {% load form_layouts %}
-<li>{% field_errors %}{% label %}{{ field }} {% help_text %}</li>
-{% endif %}
+<li>{% field_errors %}{% label %} {{ field }} {% help_text %}</li>
+{% endif %}