diff options
author | Azul <azul@leap.se> | 2012-10-17 16:02:33 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2012-10-17 16:02:33 +0200 |
commit | d9a510fa2126c29f0af58c6bbeff35802777eee6 (patch) | |
tree | 9e784338d95fc5d3e0b29f8083a07de43f2a1f53 /users/app/views/sessions/new.html.haml | |
parent | 0c79df9874c59fbaa5c845e07d8fa1b4bbc23b9c (diff) | |
parent | dc0584f7d993ef7c75fbdd9d341ebb3337f3448d (diff) |
Merge branch 'feature-authentication_system' into develop
Diffstat (limited to 'users/app/views/sessions/new.html.haml')
-rw-r--r-- | users/app/views/sessions/new.html.haml | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/users/app/views/sessions/new.html.haml b/users/app/views/sessions/new.html.haml index 39ee7bf..c91d3f2 100644 --- a/users/app/views/sessions/new.html.haml +++ b/users/app/views/sessions/new.html.haml @@ -1,7 +1,8 @@ -%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 +.span8.offset2 + %h2=t :login + = simple_form_for :session, :url => sessions_path, :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 |