2019-11-12 16:06:30 -05:00
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2017-05-10 11:37:47 -04:00
|
|
|
%html{ lang: "en" }
|
|
|
|
%head
|
|
|
|
%meta{ content: "text/html; charset=UTF-8", "http-equiv" => "Content-Type" }/
|
|
|
|
%meta{ content: "width=device-width, initial-scale=1", name: "viewport" }/
|
|
|
|
%meta{ content: "IE=edge", "http-equiv" => "X-UA-Compatible" }/
|
|
|
|
%title= message.subject
|
|
|
|
|
2019-11-12 16:06:30 -05:00
|
|
|
-# Avoid premailer processing of client-specific styles (@media tag not supported)
|
|
|
|
-# We need to inline the contents here because mail clients (e.g. iOS Mail, Outlook)
|
|
|
|
-# do not support linked stylesheets.
|
|
|
|
%style{ type: 'text/css', 'data-premailer': 'ignore' }
|
|
|
|
= asset_to_string('mailer_client_specific.css').html_safe
|
2017-05-10 11:37:47 -04:00
|
|
|
|
2019-11-12 16:06:30 -05:00
|
|
|
= stylesheet_link_tag 'mailer.css'
|
|
|
|
%body
|
2021-08-06 14:09:57 -04:00
|
|
|
= yield :preview_text
|
2019-11-12 16:06:30 -05:00
|
|
|
%table#body{ border: "0", cellpadding: "0", cellspacing: "0" }
|
2017-05-10 11:37:47 -04:00
|
|
|
%tbody
|
|
|
|
%tr.line
|
2019-11-12 16:06:30 -05:00
|
|
|
%td
|
2017-05-10 11:37:47 -04:00
|
|
|
%tr.header
|
2019-11-12 16:06:30 -05:00
|
|
|
%td
|
2019-02-20 10:18:15 -05:00
|
|
|
= html_header_message
|
2017-05-10 11:37:47 -04:00
|
|
|
= header_logo
|
|
|
|
%tr
|
2019-11-12 16:06:30 -05:00
|
|
|
%td
|
|
|
|
%table.wrapper{ border: "0", cellpadding: "0", cellspacing: "0" }
|
2017-05-10 11:37:47 -04:00
|
|
|
%tbody
|
|
|
|
%tr
|
2019-11-12 16:06:30 -05:00
|
|
|
%td.wrapper-cell
|
|
|
|
%table.content{ border: "0", cellpadding: "0", cellspacing: "0" }
|
2017-05-10 11:37:47 -04:00
|
|
|
%tbody
|
|
|
|
= yield
|
|
|
|
|
2019-05-08 01:26:10 -04:00
|
|
|
= render_if_exists 'layouts/mailer/additional_text'
|
|
|
|
|
2020-10-20 08:08:54 -04:00
|
|
|
= yield :footer
|
2017-05-10 11:38:51 -04:00
|
|
|
|
2017-06-12 04:37:07 -04:00
|
|
|
= yield :additional_footer
|
2019-02-20 10:18:15 -05:00
|
|
|
%tr
|
2019-11-12 16:06:30 -05:00
|
|
|
%td.footer-message
|
2019-02-20 10:18:15 -05:00
|
|
|
= html_footer_message
|