{% if item.type in ['URLField'] %} {{ item.label(class=theme.form.url_label_class, style=theme.form.url_label_style) }} {% endif %} {% if item.errors %} {{ item(class=theme.form.url_error_class) }}
{% for error in item.errors %} {{ error }} {% endfor %}
{% else %} {% if item.type in ['URLField'] %} {{ item(class=theme.form.url_class, type=theme.form.url_type, style=theme.form.url_style) }} {% endif %} {% endif %}