We use the same email and password form inputs across all rodauth views. I converted them into a component to avoid duplication. Additionally, rodauth has similar components for its built-in views [^1]. I merged the password-field [^2] and password-confirm-field [^3] into a single component. [^1]: https://github.com/jeremyevans/rodauth/blob/master/templates/login-field.str [^2]: https://github.com/jeremyevans/rodauth/blob/master/templates/password-field.str [^3]: https://github.com/jeremyevans/rodauth/blob/master/templates/password-confirm-field.str
753 B
753 B