diff options
author | 2024-11-14 17:59:21 +0000 | |
---|---|---|
committer | 2024-11-14 17:59:21 +0000 | |
commit | 469a3ad33914f7eff6edc9ca7fabb12f2950da84 (patch) | |
tree | 2712ba2e927fb820b6aa58443c9227d1da24a03f /templates/error.rs.html | |
parent | b7a2265e9b29d8fa09f84f5213ef7f8ed3045ca6 (diff) | |
download | critch-469a3ad33914f7eff6edc9ca7fabb12f2950da84.tar.gz critch-469a3ad33914f7eff6edc9ca7fabb12f2950da84.tar.bz2 critch-469a3ad33914f7eff6edc9ca7fabb12f2950da84.zip |
database work
Diffstat (limited to '')
-rw-r--r-- | templates/error.rs.html | 9 |
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> +}) |