polish
This commit is contained in:
parent
6963a88602
commit
e7570a4c20
11 changed files with 138 additions and 5 deletions
9
html/errors.templ
Normal file
9
html/errors.templ
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
package html
|
||||
|
||||
templ FormErrors(msgs []string) {
|
||||
<ul role="alert">
|
||||
for _, m := range msgs {
|
||||
<li>{m}</li>
|
||||
}
|
||||
</ul>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue