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.
18 lines
600 B
18 lines
600 B
{% if item.type in ['SelectField'] %}
|
|
{{ item.label(class=theme.form.select_label_class, style=theme.form.select_label_style) }}
|
|
{% endif %}
|
|
{% if item.errors %}
|
|
{{ item(class=theme.form.input_error_class) }}
|
|
<div class="{{ theme.form.div_error_class }}">
|
|
{% for error in item.errors %}
|
|
<span>{{ error }}</span>
|
|
{% endfor %}
|
|
</div>
|
|
{% else %}
|
|
<div class="col">
|
|
{% if item.type in ['SelectField'] %}
|
|
{{ item(class=theme.form.select_class, type=theme.form.select_type, style=theme.form.select_style) }}
|
|
{% endif %}
|
|
</div>
|
|
{% endif %}
|