views/register: simplify HTML generation
This commit is contained in:
parent
020e9e7712
commit
15c50ec516
|
@ -5,20 +5,16 @@ class LoginForm extends Widget
|
|||
form method: "POST", action: "/register", ->
|
||||
input type: "hidden", name: "csrf_token", value: @csrf_token
|
||||
|
||||
p ->
|
||||
text "email address"
|
||||
p "email address"
|
||||
input type: "text", name: "email"
|
||||
|
||||
p ->
|
||||
text "password"
|
||||
p "password"
|
||||
input type: "password", name: "password"
|
||||
|
||||
p ->
|
||||
text "password"
|
||||
p "password"
|
||||
input type: "password", name: "password_again"
|
||||
|
||||
p ->
|
||||
text "name"
|
||||
p "name"
|
||||
input type: "text", name: "name"
|
||||
|
||||
br!
|
||||
|
|
Loading…
Reference in New Issue