2017 refactor
This commit is contained in:
@@ -68,7 +68,7 @@
|
||||
= 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
|
||||
= button :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'
|
||||
|
||||
@@ -1,27 +1,27 @@
|
||||
!!! Strict
|
||||
%html{:xmlns => "http://www.w3.org/1999/xhtml"}
|
||||
%head
|
||||
%meta{:content => "text/html; charset=utf-8", "http-equiv" => "Content-Type"}/
|
||||
%meta{:content => "width=device-width, initial-scale=1.0", :name => "viewport"}/
|
||||
%title=@subject
|
||||
= stylesheet_link_tag 'user-mailer'
|
||||
%body
|
||||
%table{:border => "0", :cellpadding => "0", :cellspacing => "0", id: @wrapper_id.present? ? "bb_#{@wrapper_id.to_s}" : 'backgroundTable'}
|
||||
%tr
|
||||
%td
|
||||
%table{:align => "center", :border => "0", :cellpadding => "0", :cellspacing => "0"}
|
||||
- if @banner
|
||||
%tr
|
||||
%td{:valign => "top", :style => 'text-align: center', colspan: 2}
|
||||
%img.image_fix{:src => @banner}
|
||||
%tr
|
||||
%td{:valign => "top", colspan: 2}= yield
|
||||
%tr
|
||||
%td{colspan: 2, style: 'height: 16px'}=' '.html_safe
|
||||
%tr
|
||||
%td{style: 'width: 50%; text-align: left'}
|
||||
%img.image_fix{:src => ((Rails.env.development? || Rails.env.test? ? 'https://preview-en.bikebike.org/' : @host) + image_url('bblogo-paypal'))}
|
||||
%td{style: 'width: 50%; text-align: left'}
|
||||
%a{href: @host}="© Bike!Bike! #{Date.today.year}".html_safe
|
||||
%tr
|
||||
%td{colspan: 2, style: 'height: 16px'}=' '.html_safe
|
||||
%head
|
||||
%meta{:content => "text/html; charset=utf-8", "http-equiv" => "Content-Type"}/
|
||||
%meta{:content => "width=device-width, initial-scale=1.0", :name => "viewport"}/
|
||||
%title=_!(@subject)
|
||||
= stylesheet_link_tag 'user-mailer'
|
||||
%body
|
||||
%table{:border => "0", :cellpadding => "0", :cellspacing => "0", id: @wrapper_id.present? ? "bb_#{@wrapper_id.to_s}" : 'backgroundTable'}
|
||||
%tr
|
||||
%td
|
||||
%table{:align => "center", :border => "0", :cellpadding => "0", :cellspacing => "0"}
|
||||
- if @banner
|
||||
%tr
|
||||
%td{:valign => "top", :style => 'text-align: center', colspan: 2}
|
||||
%img.image_fix{:src => @banner}
|
||||
%tr
|
||||
%td{:valign => "top", colspan: 2}= yield
|
||||
%tr
|
||||
%td{colspan: 2, style: 'height: 16px'}=' '.html_safe
|
||||
%tr
|
||||
%td{style: 'width: 50%; text-align: left'}
|
||||
%img.image_fix{:src => ((Rails.env.development? || Rails.env.test? ? 'https://preview-en.bikebike.org' : @host) + image_url('bblogo-paypal'))}
|
||||
%td{style: 'width: 50%; text-align: left'}
|
||||
%a{href: @host}=_!("© Bike!Bike! #{Date.today.year}")
|
||||
%tr
|
||||
%td{colspan: 2, style: 'height: 16px'}=' '.html_safe
|
||||
|
||||
Reference in New Issue
Block a user