summaryrefslogtreecommitdiffstats
path: root/templates/error.rs.html
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@blos.sm>2024-11-14 17:59:21 +0000
committerLibravatar cel 🌸 <cel@blos.sm>2024-11-14 17:59:21 +0000
commit469a3ad33914f7eff6edc9ca7fabb12f2950da84 (patch)
tree2712ba2e927fb820b6aa58443c9227d1da24a03f /templates/error.rs.html
parentb7a2265e9b29d8fa09f84f5213ef7f8ed3045ca6 (diff)
downloadcritch-469a3ad33914f7eff6edc9ca7fabb12f2950da84.tar.gz
critch-469a3ad33914f7eff6edc9ca7fabb12f2950da84.tar.bz2
critch-469a3ad33914f7eff6edc9ca7fabb12f2950da84.zip
database work
Diffstat (limited to 'templates/error.rs.html')
-rw-r--r--templates/error.rs.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/error.rs.html b/templates/error.rs.html
new file mode 100644
index 0000000..66b6861
--- /dev/null
+++ b/templates/error.rs.html
@@ -0,0 +1,9 @@
+@use super::base_html;
+@use poem::http::StatusCode;
+
+@(status: &str, message: &str)
+
+@:base_html({
+<h1>error @status</h1>
+<h2>@message</h2>
+})