summaryrefslogtreecommitdiff
path: root/resources/views/errors
diff options
context:
space:
mode:
Diffstat (limited to 'resources/views/errors')
-rw-r--r--resources/views/errors/default.twig7
1 files changed, 7 insertions, 0 deletions
diff --git a/resources/views/errors/default.twig b/resources/views/errors/default.twig
new file mode 100644
index 00000000..5fb8bcbd
--- /dev/null
+++ b/resources/views/errors/default.twig
@@ -0,0 +1,7 @@
+{% extends "layouts/app.twig" %}
+
+{% block title %}{% if status == 404 %}{{ __("Page not found") }}{% else %}Error {{ status }}{% endif %}{% endblock %}
+
+{% block content %}
+ <div class="alert alert-info">{{ content }}</div>
+{% endblock %}