aboutsummaryrefslogtreecommitdiff
path: root/views/error.templ
diff options
context:
space:
mode:
Diffstat (limited to 'views/error.templ')
-rw-r--r--views/error.templ8
1 files changed, 8 insertions, 0 deletions
diff --git a/views/error.templ b/views/error.templ
new file mode 100644
index 0000000..d3a4a32
--- /dev/null
+++ b/views/error.templ
@@ -0,0 +1,8 @@
+package views
+
+templ ErrorPage(err error) {
+ @Layout() {
+ <h1>Ошибка</h1>
+ {err.Error()}
+ }
+}