diff --git a/bootstrapform/templates/bootstrapform/field.html b/bootstrapform/templates/bootstrapform/field.html index bfbdf64..d3ce1a3 100644 --- a/bootstrapform/templates/bootstrapform/field.html +++ b/bootstrapform/templates/bootstrapform/field.html @@ -2,13 +2,15 @@
{% if field|is_checkbox %} + {% if field.auto_id %}
+ {% else %} +
+ {% endif %}
- {% if field.auto_id %} - - {% endif %} + {% for error in field.errors %} {{ error }} {% endfor %}