new login page with the new components
This commit is contained in:
parent
0206d84894
commit
bb135917cf
26
internal/views/users/login copy.templ
Normal file
26
internal/views/users/login copy.templ
Normal file
@ -0,0 +1,26 @@
|
||||
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")
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user