signup.js.coffee
1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{div, label, input} = React.DOM
@Signup = React.createClass
render: ->
div
className: 'signup'
div
className: 'form-group has-error'
label
className: "control-label col-sm-3"
'Email'
div
className: 'col-sm-7'
input
className: 'form-control input-lg'
type: 'email'
name: 'user[email]'
div
className: 'form-group'
label
className: "control-label col-sm-3"
'Password'
div
className: 'col-sm-7'
input
className: 'form-control input-lg'
type: 'password'
name: 'user[password]'
div
className: 'form-group'
label
className: "control-label col-sm-3"
'Password confirmation'
div
className: 'col-sm-7'
input
className: 'form-control input-lg'
type: 'password'
name: 'user[password_confirmation]'
div
className: 'form-group'
div
className: 'col-sm-offset-3 col-sm-7'
input
className: 'btn btn-primary btn-lg btn-block'
type: 'submit'
value: 'Sign up'