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", ->
|
form method: "POST", action: "/register", ->
|
||||||
input type: "hidden", name: "csrf_token", value: @csrf_token
|
input type: "hidden", name: "csrf_token", value: @csrf_token
|
||||||
|
|
||||||
p ->
|
p "email address"
|
||||||
text "email address"
|
|
||||||
input type: "text", name: "email"
|
input type: "text", name: "email"
|
||||||
|
|
||||||
p ->
|
p "password"
|
||||||
text "password"
|
|
||||||
input type: "password", name: "password"
|
input type: "password", name: "password"
|
||||||
|
|
||||||
p ->
|
p "password"
|
||||||
text "password"
|
|
||||||
input type: "password", name: "password_again"
|
input type: "password", name: "password_again"
|
||||||
|
|
||||||
p ->
|
p "name"
|
||||||
text "name"
|
|
||||||
input type: "text", name: "name"
|
input type: "text", name: "name"
|
||||||
|
|
||||||
br!
|
br!
|
||||||
|
|
Loading…
Reference in New Issue