diff options
Diffstat (limited to 'users/app/views/sessions/new.html.haml')
-rw-r--r-- | users/app/views/sessions/new.html.haml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/users/app/views/sessions/new.html.haml b/users/app/views/sessions/new.html.haml index 48f914c..81a55b8 100644 --- a/users/app/views/sessions/new.html.haml +++ b/users/app/views/sessions/new.html.haml @@ -1 +1,9 @@ -= render 'sessions/new'
\ No newline at end of file +.span1 +.span9 + %h2=t :login + = simple_form_for @session, :validate => true, :html => { :id => :new_session, :class => 'form-horizontal' } 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' + = link_to t(:cancel), root_path, :class => 'btn' |