package users import ( "git.jamestombleson.com/jtom38/newsbot-portal/components/bulma/form" "git.jamestombleson.com/jtom38/newsbot-portal/internal/views/layout" ) templ SignUp() { @layout.WithTemplate() { @form.New(form.NewParam{HxPost: "/users/signup"}) { @form.Field(){ @form.Label("Username") @form.Control() { @form.TextInput("", "username", form.InputTypeText, "username or email address") } } @form.Field() { @form.Label("Password") @form.Control() { @form.TextInput("", "password", form.InputTypePassword, "Nice strong password, like Ox!") } } @form.Submit("Submit", "") } } }