diff options
author | Azul <azul@riseup.net> | 2012-09-27 22:39:08 +0200 |
---|---|---|
committer | Azul <azul@riseup.net> | 2012-09-27 22:39:08 +0200 |
commit | ebbfe3d77efddbe8f97fa82c171632ac4cfcf6da (patch) | |
tree | b81b55476f4f7889af0e346ebf5dc95afc4a02af /users/app/views/users | |
parent | 1208257bcc0e2a6648b68433a7b7e24791f92583 (diff) |
added in leap web users - one repo to rule them all
Diffstat (limited to 'users/app/views/users')
-rw-r--r-- | users/app/views/users/new.html.haml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/users/app/views/users/new.html.haml b/users/app/views/users/new.html.haml new file mode 100644 index 0000000..f6ece3a --- /dev/null +++ b/users/app/views/users/new.html.haml @@ -0,0 +1,10 @@ +%h2=t :signup += simple_form_for @user 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.input :password_verifier, :as => :hidden, :input_html => { :id => :srp_password_verifier } + = f.input :password_salt, :as => :hidden, :input_html => { :id => :srp_salt } + = f.button :submit, :value => t(:signup), :class => 'btn-primary' + = link_to t(:cancel), root_url, :class => :btn |