feat: make server errors visible to the user for htmx requests
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
{% embed '_partials/_modal.html.twig' with { 'level': 'error' } %}
|
||||
{% block title %}
|
||||
Oops...
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
{% include '_partials/_alert.html.twig' with {
|
||||
level: 'error',
|
||||
modal: true,
|
||||
messages: ['Da ist etwas schiefgelaufen. Wir haben uns Notizen gemacht und kümmern uns schnellstmöglich darum.']
|
||||
} %}
|
||||
{% endblock %}
|
||||
{% endembed %}
|
||||
Reference in New Issue
Block a user