diff --git a/bootstrapform/templates/bootstrapform/form.html b/bootstrapform/templates/bootstrapform/form.html index c38480b..7e3ad47 100644 --- a/bootstrapform/templates/bootstrapform/form.html +++ b/bootstrapform/templates/bootstrapform/form.html @@ -16,15 +16,15 @@ {{ field }} {{ field.label }} + {% for error in field.errors %} + {{ error }} + {% endfor %} + {% if field.help_text %} {{ field.help_text }} {% endif %} - - {% for error in field.errors %} - {{ error }} - {% endfor %} @@ -33,15 +33,16 @@
{{ field }} + {% for error in field.errors %} + {{ error }} + {% endfor %} + {% if field.help_text %} {{ field.help_text }} {% endif %} - {% for error in field.errors %} - {{ error }} - {% endfor %}
{% endif %}