Bike!Bike! Website!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
1.3 KiB

!!! Strict
7 years ago
%html{xmlns: 'http://www.w3.org/1999/xhtml'}
8 years ago
%head
7 years ago
%meta{content: 'text/html; charset=utf-8', httpequiv: 'Content-Type'}
%meta{content: 'width=device-width, initial-scale=1.0', name: 'viewport'}
8 years ago
%title=_!(@subject)
= stylesheet_link_tag 'user-mailer'
%body
7 years ago
%table{border: 0, cellpadding: 0, cellspacing: 0, id: @wrapper_id.present? ? "bb_#{@wrapper_id.to_s}" : 'backgroundTable'}
8 years ago
%tr
%td
7 years ago
%table{align: 'center', border: 0, cellpadding: 0, cellspacing: 0}
8 years ago
- if @banner
%tr
7 years ago
%td{valign: 'top', style: 'text-align: center', colspan: 2}
%img.image_fix{src: @banner}
8 years ago
%tr
7 years ago
%td{valign: 'top', colspan: 2}= yield
8 years ago
%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.png'))}
8 years ago
%td{style: 'width: 50%; text-align: left'}
%a{href: @host}=_!("© Bike!Bike! #{Date.today.year}").html_safe
8 years ago
%tr
%td{colspan: 2, style: 'height: 16px'}=' '.html_safe