various code cleanup,
add required tag to select template
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user