numerus/web/template
jordi fita mas ff5b76b4f5 Use a “proper” struct for the login form
Similar to the profile form, the login form now parses and validates
itself, with the InputField structs that the templates expect.

I realized that i was doing more work than necessary when parsing fields
fro the profile form because i was repeating the operation and the field
name, so now it is a function of InputField.

This time i needed extra attributes for the login form.  I am not sure
that the Go source code needs to know about HTML attributes, but it was
the easiest way to pass them to the template.
2023-02-01 11:02:32 +01:00
..
app.gohtml Rename Customer to Contact 2023-02-01 10:14:26 +01:00
contacts-index.gohtml Rename Customer to Contact 2023-02-01 10:14:26 +01:00
contacts-new.gohtml Move page titles to their respective templates 2023-01-31 13:07:17 +01:00
dashboard.gohtml Move page titles to their respective templates 2023-01-31 13:07:17 +01:00
form.gohtml Use a “proper” struct for the login form 2023-02-01 11:02:32 +01:00
login.gohtml Use a “proper” struct for the login form 2023-02-01 11:02:32 +01:00
profile.gohtml Validate profile form and use templates for fields 2023-01-31 15:40:12 +01:00
tax-details.gohtml Fix a duplicate attribute in the _method hidden field 2023-01-31 13:07:55 +01:00
web.gohtml Add custom function to get the current locale from templates 2023-01-31 15:45:51 +01:00