summaryrefslogtreecommitdiff
path: root/users/app/views/users/new.html.haml
blob: 835e99a4c217897cbab5135bc6fe3e53ce0f53ac (plain)
1
2
3
4
5
6
7
8
9
.span8.offset2
  %h2=t :signup
  = simple_form_for @user, :html => {:class => 'form-horizontal'} do |f|
    %legend=t :signup_message
    = f.input :login, :input_html => { :id => :srp_username }
    = f.input :password, :required => true, :input_html => { :id => :srp_password }
    = f.input :password_confirmation, :required => true, :input_html => { :id => :srp_password_confirmation }
    = f.button :submit, :value => t(:signup), :class => 'btn-primary' 
    = link_to t(:cancel), root_url, :class => :btn