fix: show warning flashes in the admin layout
This commit is contained in:
1 parent
e8fa71175d
commit
d63fa10a56
1 file changed
+3
@@ -7,3 +7,6 @@
|
|||||||
{% if app.session.flashBag.peek('info')|length > 0 %}
|
{% if app.session.flashBag.peek('info')|length > 0 %}
|
||||||
{% include '_partials/_toast.html.twig' with { level: 'info', messages: app.flashes('info') } %}
|
{% include '_partials/_toast.html.twig' with { level: 'info', messages: app.flashes('info') } %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if app.session.flashBag.peek('warning')|length > 0 %}
|
||||||
|
{% include '_partials/_toast.html.twig' with { level: 'warning', messages: app.flashes('warning') } %}
|
||||||
|
{% endif %}
|
||||||
Reference in new issue
Block a user