/
new.haml
31 lines (31 loc) · 975 Bytes
/
new.haml
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
#regFormMainBlock.modalBlock
.modalOverlay
.modalWindow.ui-draggable
.modalMessage
.modalMessageHead
New user
%a{:href => root_path}
#modalCloseCross.modalClose
#orRegister
%p
%span= link_to "Sign in", new_user_session_path
or
%span Create
an account
#horizontalLine
= devise_error_messages!
#regForm
= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f|
#inputInfo
%label Email:
%span#er_email.errors
%br
= f.email_field :email, :size => 22
%label#lb_password Password:
%span#er_password.errors
%br
= f.password_field :password, :size => 22
%br
%label#conf_password Password confirm:
= f.password_field :password_confirmation, :size => 22
%button.large.large_w.awesome.yellow{:type => "submit"} Create account