2020-01-21 07:02:03 +01:00
|
|
|
@use crate::templates::base as base_template;
|
|
|
|
@use crate::template_utils::*;
|
2018-12-06 18:54:16 +01:00
|
|
|
|
2019-02-02 15:23:50 +01:00
|
|
|
@(ctx: BaseContext, error_message: String, error: Content)
|
2018-12-06 18:54:16 +01:00
|
|
|
|
2019-02-02 15:23:50 +01:00
|
|
|
@:base_template(ctx, error_message.clone(), {}, {}, {
|
2018-12-06 18:54:16 +01:00
|
|
|
@:error()
|
|
|
|
<p>@error_message</p>
|
|
|
|
})
|