You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
544 B
16 lines
544 B
{% 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) }}
|
|
<div class="{{ theme.form.div_error_class }}">
|
|
{% for error in item.errors %}
|
|
<span>{{ error }}</span>
|
|
{% endfor %}
|
|
</div>
|
|
{% else %}
|
|
{% if item.type in ['URLField'] %}
|
|
{{ item(class=theme.form.url_class, type=theme.form.url_type, style=theme.form.url_style) }}
|
|
{% endif %}
|
|
{% endif %}
|