{% load crispy_forms_bulma_field %} {% if field.is_hidden %} {{ field }} {% else %} {# use a negated variable, so it get's rendered by default and we don't need to modify the FormHelper #} {% if not exclude_field_wrapper %}
{% if form_horizontal %}
{% endif %} {% if field.label and not field|is_checkbox %} {% endif %} {% if form_horizontal %}
{% endif %} {% if form_horizontal %}
{% endif %} {% endif %} {% block field-body %} {% if field|is_select %} {% include 'bulma/layout/select.html' %} {% elif field|is_radioselect %} {% include 'bulma/layout/radioselect.html' %} {% elif field|is_checkbox %} {% include 'bulma/layout/checkboxinput.html' %} {% elif field|is_checkboxselectmultiple %} {% include 'bulma/layout/checkboxselectmultiple.html' %} {% else %}
{% if field.errors %} {% crispy_field field "class" "is-danger" %} {% else %} {% crispy_field field %} {% endif %}
{% endif %} {% endblock %} {% if not exclude_field_wrapper %} {% if form_show_errors %} {% for error in field.errors %}

{{ error }}

{% endfor %} {% endif %} {% include 'bulma/layout/help_text.html' %} {% if form_horizontal %}
{% endif %}
{% endif %} {% endif %}