@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"), {}, {}, {

@i18n!(ctx.1, "Reset your password")

@input!(ctx.1, password (password), "New password", form, errors.clone(), "minlenght=\"8\"") @input!(ctx.1, password_confirmation (password), "Confirmation", form, errors.clone(), "minlenght=\"8\"")
})