{#{% load widget_tweaks i18n %}#} {##} {#
#} {##} {# {% if not nolabel and field|widget_type != 'checkboxinput' and field|widget_type != 'radioselect' %}#} {# #} {# {% endif %}#} {# {% if field|widget_type == 'checkboxinput' %}#} {#
#} {# #} {#
#} {# {% elif field|widget_type == 'radioselect' %}#} {# {% if not nolabel %}#} {#
#} {# {{ field.label|safe }}#} {#
#} {# {% endif %}#} {#
#} {# {% for choice in field %}#} {#
#} {# #} {#
#} {# {% endfor %}#} {#
#} {# {% elif field|widget_type == 'select' %}#} {#
#} {# {% render_field field class+="form-control" %}#} {#
#} {# {% else %}#} {# {% render_field field class+="form-control" %}#} {# {% endif %}#} {##} {# {% if not noerror %}#} {# {% for error in field.errors %}#} {# {{ error }}#} {# {% endfor %}#} {# {% endif %}#} {##} {# {% if field.help_text %}#} {# #} {# We allow HTML within form help fields #} {# {{ field.help_text|safe }}#} {# #} {# {% endif %}#} {#
#}