2010-04-22 23:52:11 +00:00
|
|
|
- title t('.title')
|
|
|
|
|
|
|
|
= semantic_form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f|
|
|
|
|
.inner
|
|
|
|
= 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_password_path(resource_name)
|
|
|
|
|
|
|
|
.footer
|
2010-05-10 22:39:52 +00:00
|
|
|
= submit_button_tag t('admin.buttons.login')
|