various code cleanup,

add required tag to select template
This commit is contained in:
2025-05-12 20:59:48 +00:00
parent 800ad7cd60
commit 2b5c1bbf11
8 changed files with 189 additions and 223 deletions

View File

@@ -15,8 +15,9 @@ type StaticFile struct {
// type used for templated <select>
type Select struct {
ID string
Options []Option
ID string
Required bool
Options []Option
}
// type used for templated <option>