diff options
author | Jannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de> | 2022-05-01 22:06:03 +0200 |
---|---|---|
committer | Jannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de> | 2022-05-01 22:06:03 +0200 |
commit | 72ae9b3f63ddbe296f3e4e8f8db2d29303163d68 (patch) | |
tree | f0db960b784719df0c7318720880c73b5330b937 /templates/error.html.ep | |
parent | 7c8bd21ccbca8a3166289ab0e5511cc82d2822aa (diff) |
use more tag helpers in templates
Diffstat (limited to 'templates/error.html.ep')
-rw-r--r-- | templates/error.html.ep | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/templates/error.html.ep b/templates/error.html.ep index 92391d6..d120e69 100644 --- a/templates/error.html.ep +++ b/templates/error.html.ep @@ -1,3 +1,4 @@ +<!DOCTYPE html> <html> <head> @@ -8,20 +9,22 @@ <h1>Error</h1> <p class=center> % if (my $msg = stash 'error') { -%= $msg + %= $msg % } % else { Uwu :( % } </p> + % if (my $see_other = stash 'links') { See: <nav> % for (@$see_other) { - <a href="<%= $_ %>"> <%= $_ %> </a><br> + %= link_to $_ => $_ + <br> % } </nav> % } </body> -</html>
\ No newline at end of file +</html> |