summaryrefslogtreecommitdiff
path: root/users/app/views/sessions/new.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'users/app/views/sessions/new.html.haml')
-rw-r--r--users/app/views/sessions/new.html.haml7
1 files changed, 7 insertions, 0 deletions
diff --git a/users/app/views/sessions/new.html.haml b/users/app/views/sessions/new.html.haml
new file mode 100644
index 0000000..39ee7bf
--- /dev/null
+++ b/users/app/views/sessions/new.html.haml
@@ -0,0 +1,7 @@
+%h2=t :login
+= simple_form_for :session, :url => sessions_path, :html => { :id => :new_session } 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