{% if item.type in ['URLField'] %}
{{ item.label(class=theme.form.url_label_class, style=theme.form.url_label_style) }}
{% if item.errors %} {% include 'form/formError.html' %} {% else %} {{ item(class=theme.form.url_class, type=theme.form.url_type, style=theme.form.url_style) }} {% endif %} {% endif %}