nineskeletor/containers/hydra-dispatcher/templates/form/error_theme.html.twig
afornerot be78875030
Some checks failed
Cadoles/nineskeletor/pipeline/head Build started...
Cadoles/nineskeletor/pipeline/pr-master There was a failure building this commit
fixevalidator
2023-01-05 20:07:17 +01:00

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 %}