mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-26 21:41:04 +00:00
16 lines
477 B
HTML
16 lines
477 B
HTML
|
@use template_utils::*;
|
||
|
@use templates::base;
|
||
|
@use routes::session::ResetForm;
|
||
|
@use validator::ValidationErrors;
|
||
|
|
||
|
@(ctx: BaseContext, form: &ResetForm, errors: ValidationErrors)
|
||
|
|
||
|
@:base(ctx, i18n!(ctx.1, "Reset your password"), {}, {}, {
|
||
|
<h1>@i18n!(ctx.1, "Reset your password")</h1>
|
||
|
|
||
|
<form method="POST">
|
||
|
@input!(ctx.1, email (email), "E-mail", form, errors.clone(), "minlenght=\"1\"")
|
||
|
<input type="submit" value="@i18n!(ctx.1, "Send reset link")" />
|
||
|
</form>
|
||
|
})
|