{% load fabform %}
<div class="form-group {% if field.errors %} has-danger{% endif %} {% if field.field.widget.attrs.columns %}col-{{ field.field.widget.attrs.columns }}{% endif %}" id="group_{{ field.id_for_label }} ">
  {% if field|is_hidden %}
    {{ field }}
  {% elif field|is_checkbox %}
    <div class="form-check">
      {{ field|addcssclass:'form-check-input' }}
      <label class="form-check-label" for="{{ field.id_for_label }}">{{ field.label }}</label>
    </div>
  {% else %}
    {% if field.label