diff options
Diffstat (limited to 'views/error.templ')
-rw-r--r-- | views/error.templ | 8 |
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()} + } +} |