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.
7 lines
373 B
7 lines
373 B
{% if form.message %}
|
|
{% set icon_mapping = {'success':'checkmark', 'error':'wrong', 'warning':'information'} %}
|
|
{% set message = form.inline_errors and form.messages ? "FORM.VALIDATION_FAIL"|t : form.message %}
|
|
|
|
<div class="toast toast-{{ form.status }} mt-2 mb-2"><i class="icon dripicons-{{ icon_mapping[form.status] }}"></i> {{ message }}</div>
|
|
{% endif %}
|