User settings page
This commit is contained in:
@@ -27,8 +27,6 @@
|
||||
- if content_for?(:side_bar)
|
||||
%nav#side-bar
|
||||
= yield :side_bar
|
||||
-# - flash.each do |key, msg|
|
||||
-# = content_tag :div, msg, :id => key
|
||||
%header#banner=yield :banner
|
||||
- if @submenu
|
||||
=row do
|
||||
@@ -42,7 +40,7 @@
|
||||
= yield
|
||||
#footer
|
||||
%footer= render 'shared/footer'
|
||||
- if @confirmation_dlg.present? || @info_dlg.present?
|
||||
- if @confirmation_dlg.present? || @info_dlg.present? || @login_dlg.present?
|
||||
#content-overlay
|
||||
#overlay
|
||||
- if @confirmation_dlg.present?
|
||||
@@ -60,6 +58,18 @@
|
||||
.dlg-inner
|
||||
%p.message=''
|
||||
%button.close=_'modals.done_button'
|
||||
- if @login_dlg.present?
|
||||
.dlg#login-dlg
|
||||
.dlg-content
|
||||
%h2.title=_'forms.actions.generic.login'
|
||||
.dlg-inner
|
||||
= form_tag do_confirm_path, class: 'flex-form' do
|
||||
= hidden_field_tag :dest, settings_path
|
||||
= emailfield :email, nil, big: true
|
||||
= button_tag :continue, :value => :confirm_email
|
||||
.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]
|
||||
%button.close.subdued=_'forms.actions.generic.cancel'
|
||||
|
||||
= yield :footer_scripts if content_for?(:footer_scripts)
|
||||
= inline_scripts
|
||||
|
||||
Reference in New Issue
Block a user