summaryrefslogtreecommitdiff
path: root/users/app/views/sessions/_new.html.haml
blob: 640fec528e152f3187d756cd0b6b7aec5a4ef20a (plain)
1
2
3
4
5
6
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'