hyaenidae/server/templates/error.rs.html
asonix 6da83926a0 Remove StateError
Use Dark Theme
Add profile deletion
2021-01-08 22:35:35 -06:00

15 lines
499 B
HTML

@use crate::templates::layouts::main;
@use hyaenidae_toolkit::{templates::{card, card_body, card_title, link}, Card, Link};
@(error: String)
@:main("Error", "There was an error processing your request", {}, {
@:card(&Card::full_width().classes(&["account-page"]).dark(true), {
@:card_title({ There was an error processing your request })
@:card_body({ @error })
@:card_body({
@:link(&Link::current_tab("/").dark(true), { Return Home })
})
})
})