diff options
Diffstat (limited to 'views/error.templ')
-rw-r--r-- | views/error.templ | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/views/error.templ b/views/error.templ index d3a4a32..3e857ef 100644 --- a/views/error.templ +++ b/views/error.templ @@ -1,8 +1,8 @@ package views templ ErrorPage(err error) { - @Layout() { - <h1>Ошибка</h1> - {err.Error()} - } + @Layout(nil) { + <h1>Ошибка</h1> + { err.Error() } + } } |