Plume/templates/errors/base.rs.html
Baptiste Gelez 7eef4643c8
Update rocket_i18n and add gettext_macros (#431)
Internationalization now uses proc-macros that generate the .pot file
automatically.
2019-02-02 15:23:50 +01:00

9 lines
217 B
HTML

@use templates::base as base_template;
@use template_utils::*;
@(ctx: BaseContext, error_message: String, error: Content)
@:base_template(ctx, error_message.clone(), {}, {}, {
@:error()
<p>@error_message</p>
})