diff --git a/bootstrapform/templates/bootstrapform/form.html b/bootstrapform/templates/bootstrapform/form.html index 99a8ba4..c38480b 100644 --- a/bootstrapform/templates/bootstrapform/form.html +++ b/bootstrapform/templates/bootstrapform/form.html @@ -15,9 +15,13 @@ + + {% if field.help_text %} {{ field.help_text }} + {% endif %} + {% for error in field.errors %} {{ error }} {% endfor %} @@ -28,14 +32,16 @@ {{ field.label_tag }}
{{ field }} + + {% if field.help_text %} - {{ field.help_text }} + {{ field.help_text }} - {% if field.errors %} - {% for error in field.errors %} - {{ error }} - {% endfor %} {% endif %} + + {% for error in field.errors %} + {{ error }} + {% endfor %}
{% endif %}