summaryrefslogtreecommitdiff
path: root/users/app
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-06-19 00:37:32 -0700
committerelijah <elijah@riseup.net>2013-06-19 00:37:32 -0700
commitfb7187561d7143da458c102353ee9e0090d71532 (patch)
tree9e1b1d4135be0f76bfccf15721659e16c0970f21 /users/app
parent5c19ac7f6f457552c7c11a87b8417591abde7061 (diff)
use session/new partial for all login forms.
Diffstat (limited to 'users/app')
-rw-r--r--users/app/views/sessions/new.html.haml10
1 files changed, 1 insertions, 9 deletions
diff --git a/users/app/views/sessions/new.html.haml b/users/app/views/sessions/new.html.haml
index 4d14801..48f914c 100644
--- a/users/app/views/sessions/new.html.haml
+++ b/users/app/views/sessions/new.html.haml
@@ -1,9 +1 @@
-//= render 'sessions/new'
-
-%h2=t :login
-= simple_form_for @session, :validate => true, :html => { :id => :new_session, :class => 'form-horizontal' } do |f|
- %legend=t :login_message
- = f.input :login, :input_html => { :id => :srp_username }
- = f.input :password, :required => true, :input_html => { :id => :srp_password }
- = f.button :submit, :value => t(:login), :class => 'btn-primary'
- = link_to t(:cancel), root_url, :class => :btn \ No newline at end of file
+= render 'sessions/new' \ No newline at end of file