new.html.haml 593 B

1234567891011
  1. - content_for :page_title do
  2. = t('auth.login')
  3. = simple_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
  4. = f.input :email, autofocus: true, placeholder: t('simple_form.labels.defaults.email'), required: true, input_html: { 'aria-label' => t('simple_form.labels.defaults.email') }
  5. = f.input :password, placeholder: t('simple_form.labels.defaults.password'), required: true, input_html: { 'aria-label' => t('simple_form.labels.defaults.password') }
  6. .actions
  7. = f.button :button, t('auth.login'), type: :submit
  8. .form-footer= render 'auth/shared/links'