16 lines
284 B
Templ
16 lines
284 B
Templ
package config
|
|
|
|
import "yellowjacket/pkg/templcomp"
|
|
|
|
templ (c *Config) form() {
|
|
@templcomp.ToForm(c, templ.URL("/config"), "config")
|
|
}
|
|
|
|
templ (c *Config) formSubmitError(msg string) {
|
|
<strong>Error: { msg }</strong>
|
|
}
|
|
|
|
templ (c *Config) formSubmitSuccess() {
|
|
<p>Config saved</p>
|
|
}
|