fixevalidator
This commit is contained in:
@ -0,0 +1,13 @@
|
||||
{% 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 %}
|
Reference in New Issue
Block a user