diff --git a/bootstrapform/templates/bootstrapform/field.html b/bootstrapform/templates/bootstrapform/field.html index bfbdf64..b269dc6 100644 --- a/bootstrapform/templates/bootstrapform/field.html +++ b/bootstrapform/templates/bootstrapform/field.html @@ -44,12 +44,32 @@

{% endif %} + {% elif field|is_multiple_checkbox %} + {% if field.auto_id %} + + {% endif %} +
+ {% for choice in field %} +
+ {{ choice.choice_label }} +
+ {% endfor %} + {% for error in field.errors %} + {{ error }} + {% endfor %} + + {% if field.help_text %} +

+ {{ field.help_text|safe }} +

+ {% endif %} +
{% else %} {% if field.auto_id %} {% endif %} -
+
{{ field }} {% for error in field.errors %}