miniBase/web/minibase/templates/form/urlField.html

11 lines
355 B

{% if item.type in ['URLField'] %}
<br>
{{ item.label(class=theme.form.url_label_class, style=theme.form.url_label_style) }}
<br>
{% 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 %}