hyaenidae/server/templates/error.rs.html

16 lines
413 B
HTML
Raw Normal View History

2020-12-16 02:40:41 +00:00
@use super::layout;
@use hyaenidae_toolkit::{templates::{card, card_body, link}, Card, Link};
@(error: String)
@:layout("Error", "There was an error processing your request", {}, {
2020-12-16 21:43:43 +00:00
@:card(&Card::full_width(), {
2020-12-16 02:40:41 +00:00
There was an error processing your request
}, {
@:card_body({ @error })
@:card_body({
@:link(&Link::current_tab("/"), { Return Home })
})
})
})