0
0
Fork 0

sign_in and sign_up views present og meta infos (#5308)

This commit is contained in:
takayamaki 2017-10-11 07:52:25 +09:00 committed by Eugen Rochko
parent 7c33da45f0
commit 552d22bec9
7 changed files with 18 additions and 2 deletions

View file

@ -1,6 +1,9 @@
- content_for :page_title do
= t('auth.register')
- content_for :header_tags do
= render partial: 'shared/og'
= simple_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f|
= render 'shared/error_messages', object: resource

View file

@ -1,6 +1,9 @@
- 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|
= f.input :email, autofocus: true, placeholder: t('simple_form.labels.defaults.email'), required: true, input_html: { 'aria-label' => t('simple_form.labels.defaults.email') }
= f.input :password, placeholder: t('simple_form.labels.defaults.password'), required: true, input_html: { 'aria-label' => t('simple_form.labels.defaults.password'), :autocomplete => 'off' }