mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-12-28 04:50:31 +00:00
17 lines
611 B
HTML
17 lines
611 B
HTML
|
@use template_utils::*;
|
||
|
@use templates::base;
|
||
|
@use routes::session::NewPasswordForm;
|
||
|
@use validator::ValidationErrors;
|
||
|
|
||
|
@(ctx: BaseContext, form: &NewPasswordForm, errors: ValidationErrors)
|
||
|
|
||
|
@:base(ctx, i18n!(ctx.1, "Reset your password"), {}, {}, {
|
||
|
<h1>@i18n!(ctx.1, "Reset your password")</h1>
|
||
|
|
||
|
<form method="POST">
|
||
|
@input!(ctx.1, password (password), "New password", form, errors.clone(), "minlenght=\"8\"")
|
||
|
@input!(ctx.1, password_confirmation (password), "Confirmation", form, errors.clone(), "minlenght=\"8\"")
|
||
|
<input type="submit" value="@i18n!(ctx.1, "Update password")" />
|
||
|
</form>
|
||
|
})
|