summaryrefslogtreecommitdiff
path: root/users/app/views/sessions/_new.html.haml
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-06-17 01:27:55 -0700
committerelijah <elijah@riseup.net>2013-06-17 01:27:55 -0700
commita089c452a414e7d34d49f0e2703c632141361e2b (patch)
tree9e7a571d2e169dfdbe40871afba967e370437be7 /users/app/views/sessions/_new.html.haml
parent742f01f1ca5f1006fba3c5c74489f920acca43b3 (diff)
new ui - initial user changes
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..640fec5
--- /dev/null
+++ b/users/app/views/sessions/_new.html.haml
@@ -0,0 +1,7 @@
+- @session ||= Session.new
+= simple_form_for @session, :validate => true, :html => { :id => :new_session, :class => '' } do |f|
+ = f.input :login, :required => false, :label => t(:username), :input_html => { :id => :srp_username }
+ = f.input :password, :required => false, :input_html => { :id => :srp_password }
+ .form-actions
+ = f.button :submit, :value => t(:login), :class => 'btn-primary'
+ // = f.button :submit, :value => t(:login), :class => 'btn-primary' \ No newline at end of file