|
|
|
!!! 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
|
|
|
|
%style{type: 'text/css'}=Rails.application.assets.find_asset("user-mailer.css").to_s
|
|
|
|
%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 => (@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
|