engine/app/views/admin/sessions/new.html.haml

18 lines
484 B
Plaintext

- title t('.title')
= semantic_form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f|
= f.hidden_field :remember_me, :value => 'true'
.inner
= login_flash_message
= f.inputs do
= f.input :email, :label => t('.email'), :required => false
= f.input :password, :label => t('.password'), :required => false
%p.link
= link_to t('.link'), new_admin_password_path
.footer
= login_button_tag t('admin.buttons.login')