{% load bulma_utils %}

<div class="field">
  {% if field|is_checkbox %}

    {% include "bds/forms/checkbox.html" with field=field %}

  {% elif field|is_radio %}

    {% include "bds/forms/radio.html" with field=field %}

  {% elif field|is_input %}

    {% include "bds/forms/input.html" with field=field %}

  {% elif field|is_textarea %}

    {% include "bds/forms/textarea.html" with field=field %}

  {% elif field|is_select %}

    {% include "bds/forms/select.html" with field=field %}

  {% elif field|is_file %}

    {% include "bds/forms/file.html" with field=field %}

  {% else %}

    {% include "bds/forms/other.html" with field=field %}

  {% endif %}
</div>