ninecompta/templates/include/error.html.twig

14 lines
437 B
Twig
Raw Normal View History

2024-12-24 17:29:37 +01:00
{% for message in app.flashes('error') %}
<div class="alert alert-danger mt-3">
{{ message }}
</div>
{% endfor %}
{% if form.vars.errors is not empty %}
<div class="alert alert-danger mt-3">
{% for error in form.vars.errors %}
<li>{{ error.message }}</li>
{% endfor %}
</div>
{% endif %}