Cleanup the other auth forms

Somewhat kinda progressively enhanced, but at least I'm using page partials now... mostly.
This commit is contained in:
2023-12-19 01:18:39 -05:00
parent 7abffb2729
commit 6c23b3aaa3
8 changed files with 321 additions and 245 deletions

View File

@@ -9,7 +9,13 @@ pub struct ForgotPasswordFormProps {
pub fn forgot_password_form(props: ForgotPasswordFormProps) -> Markup {
let ForgotPasswordFormProps { email, email_error } = props;
html! {
form action="forgot-password" method="post" class="auth-form-grid" {
form
action="/forgot-password"
method="post"
hx-post="/forgot-password"
id="forgot-password-form"
class="auth-form-grid"
{
label for="email" { "Email" }
input
type="email"