13 lines
397 B
Twig
13 lines
397 B
Twig
|
{% form_theme form _self %}
|
||
|
|
||
|
{% block form_errors %}
|
||
|
{% if errors is defined and errors.count > 0 %}
|
||
|
<div class="bg-red-400 mb-5 p-5 rounded">
|
||
|
<p id="{{form.vars.id}}" >
|
||
|
{% for error in errors %}
|
||
|
{{ error.message | trans({}, 'form', app.request.session.get('_locale')) }}<br />
|
||
|
{% endfor %}
|
||
|
</p>
|
||
|
</div>
|
||
|
{% endif %}
|
||
|
{% endblock form_errors %}
|