{% if show_label|default_if_none:True %}{{ field.label_tag }}{% endif %}
{% if icon %} {% icon name=icon %} {% endif %} {% block form_field %} {{ field|render_with_errors }} {% endblock %} {# This span only used on rare occasions by certain types of input #}
{% if show_help_text|default_if_none:True and field.help_text %}
{{ field.help_text }}
{% endif %} {% if field|has_unrendered_errors %}
{% for error in field.errors %}
{{ error|escape }} {% endfor %}