- title t('.title') = semantic_form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| .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_password_path .footer = login_button_tag t('admin.buttons.login')