{% if form.message %} {% set status_mapping = {'success':'green', 'error': 'red', 'warning': 'yellow'} %} {% set message = form.inline_errors and form.messages ? "FORM.VALIDATION_FAIL"|t : form.message %}

{{ message|raw }}

{% endif %}