newsbot-portal/internal/views/users/login copy.templ

27 lines
551 B
Plaintext

package users
import (
"git.jamestombleson.com/jtom38/newsbot-portal/internal/views/bulma/form"
"git.jamestombleson.com/jtom38/newsbot-portal/internal/views/layout"
)
templ LoginNew() {
@layout.WithTemplate() {
@form.New("/users/login") {
@form.Field() {
@form.Label("Username")
@form.Control() {
@form.Input("", "username", "text")
}
}
@form.Field(){
@form.Label("Password")
@form.Control(){
@form.Input("", "password", form.InputTypePassword)
}
}
@form.Submit("Submit", "is-primary")
}
}
}