{% load crispy_forms_field %} {% if field.is_hidden %} {{ field }} {% else %} {% if field.label and form_show_labels %}
{% if crispy_prepended_text %} {% endif %} {% crispy_field field %} {% if crispy_appended_text %} {% endif %}
{% include 'primer/layout/help_text_and_errors.html' %}
{% else %}
{% if crispy_prepended_text %} {% endif %} {% crispy_field field %} {% if crispy_appended_text %} {% endif %} {% include 'primer/layout/help_text_and_errors.html' %}
{% endif %} {% endif %}