package web
type Page struct {
Title string
CSRF string
}
templ Layout(p Page) {
if p.CSRF != "" {
}
{ p.Title } ยท uptimesebi
{ children... }
}
templ authShell(p Page, heading string) {
@Layout(p) {
uptimesebi
{ heading }
{ children... }
}
}
templ field(label, name, typ, autocomplete string, required bool) {
}
templ submit(label string) {
}
templ formError() {
}