|
@ -20,6 +20,7 @@ |
|
|
%meta{property: 'og:type', content: 'website'} |
|
|
%meta{property: 'og:type', content: 'website'} |
|
|
%meta{property: 'og:image', content: og_image} |
|
|
%meta{property: 'og:image', content: og_image} |
|
|
%meta{name: "theme-color", content: @theme_colour} |
|
|
%meta{name: "theme-color", content: @theme_colour} |
|
|
|
|
|
%script{src: "https://www.google.com/recaptcha/api.js?render=6LcWZFAnAAAAANKko--rHWo2iAkfGdcbkHKtF1-A}" } |
|
|
= yield :head |
|
|
= yield :head |
|
|
|
|
|
|
|
|
%body{ class: page_style } |
|
|
%body{ class: page_style } |
|
@ -69,6 +70,8 @@ |
|
|
.message='' |
|
|
.message='' |
|
|
%button.close=_'modals.done_button' |
|
|
%button.close=_'modals.done_button' |
|
|
- if @login_dlg.present? |
|
|
- if @login_dlg.present? |
|
|
|
|
|
= content_for :recaptcha_js do |
|
|
|
|
|
= include_recaptcha_js |
|
|
.dlg#login-dlg |
|
|
.dlg#login-dlg |
|
|
.dlg-content |
|
|
.dlg-content |
|
|
%h2.title=_'forms.actions.generic.login' |
|
|
%h2.title=_'forms.actions.generic.login' |
|
@ -77,6 +80,7 @@ |
|
|
= hidden_field_tag :dest, settings_path |
|
|
= hidden_field_tag :dest, settings_path |
|
|
= emailfield :email, nil, big: true |
|
|
= emailfield :email, nil, big: true |
|
|
= button :continue, value: :confirm_email |
|
|
= button :continue, value: :confirm_email |
|
|
|
|
|
= recaptcha_execute('sign_in') |
|
|
.flex-form |
|
|
.flex-form |
|
|
= link_to (_'forms.actions.generic.facebook_sign_in','Facebook Sign In'), auth_at_provider_path(provider: :facebook, dest: settings_path), class: [:button, :facebook] |
|
|
= link_to (_'forms.actions.generic.facebook_sign_in','Facebook Sign In'), auth_at_provider_path(provider: :facebook, dest: settings_path), class: [:button, :facebook] |
|
|
%button.close.subdued=_'forms.actions.generic.cancel' |
|
|
%button.close.subdued=_'forms.actions.generic.cancel' |
|
|