{% load crispy_forms_primer_tags %} {% if field.is_hidden %} {{ field }} {% else %} {% if field.label and form_show_labels %}
{% if crispy_prepended_button %} {% endif %} {% crispy_field field %} {% if crispy_appended_button %} {% endif %}
{% include 'primer/layout/help_text_and_errors.html' %}
{% else %}
{% if crispy_prepended_button %} {% endif %} {% crispy_field field %} {% if crispy_appended_button %} {% endif %} {% include 'primer/layout/help_text_and_errors.html' %}
{% endif %} {% endif %}