2019-07-02 08:10:25 +01:00
|
|
|
- content_for :page_title do
|
|
|
|
= t('auth.login')
|
|
|
|
|
|
|
|
- content_for :header_tags do
|
|
|
|
= render partial: 'shared/og'
|
|
|
|
|
|
|
|
= simple_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
|
2020-08-20 22:30:46 +01:00
|
|
|
%h2.form-title Log into Gab
|
|
|
|
|
2019-07-02 08:10:25 +01:00
|
|
|
.fields-group
|
|
|
|
- if use_seamless_external_login?
|
|
|
|
= f.input :email, autofocus: true, wrapper: :with_label, label: t('simple_form.labels.defaults.username_or_email'), input_html: { 'aria-label' => t('simple_form.labels.defaults.username_or_email') }, hint: false
|
|
|
|
- else
|
|
|
|
= f.input :email, autofocus: true, wrapper: :with_label, label: t('simple_form.labels.defaults.email'), input_html: { 'aria-label' => t('simple_form.labels.defaults.email') }, hint: false
|
|
|
|
.fields-group
|
2020-08-20 22:30:46 +01:00
|
|
|
= f.input :password, wrapper: :with_label, label: t('simple_form.labels.defaults.password'), input_html: { 'aria-label' => t('simple_form.labels.defaults.password'), :autocomplete => 'off' }, hint: false
|
2019-07-02 08:10:25 +01:00
|
|
|
|
|
|
|
.actions
|
|
|
|
= f.button :button, t('auth.login'), type: :submit
|
|
|
|
|
|
|
|
.form-footer= render 'auth/shared/links'
|