27 lines
565 B
Plaintext
27 lines
565 B
Plaintext
import Widget from require "lapis.html"
|
|
|
|
class LoginForm extends Widget
|
|
content: =>
|
|
form method: "POST", action: "/register", ->
|
|
input type: "hidden", name: "csrf_token", value: @csrf_token
|
|
|
|
p ->
|
|
text "email address"
|
|
input type: "text", name: "email"
|
|
|
|
p ->
|
|
text "password"
|
|
input type: "password", name: "password"
|
|
|
|
p ->
|
|
text "password"
|
|
input type: "password", name: "password_again"
|
|
|
|
p ->
|
|
text "name"
|
|
input type: "text", name: "name"
|
|
|
|
br!
|
|
|
|
input type: "submit"
|