newsbot-portal/components/bulma/form/new.templ

14 lines
176 B
Plaintext
Raw Normal View History

package form
type NewParam struct {
HxPost string
}
templ New(param NewParam) {
if param.HxPost != "" {
<form hx-post={ param.HxPost }>
{ children... }
</form>
}
}