1
0

_heading.html.haml 563 B

12345678910111213
  1. -# locals: (title:, image_url: nil, subtitle: nil)
  2. %table.email-w-full.email-header-heading-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
  3. %tr
  4. %td.email-header-heading-td
  5. %table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
  6. %tr
  7. - if image_url
  8. %td.email-header-heading-img-td
  9. = image_tag image_url, alt: '', width: 56, height: 56
  10. %td.email-header-heading-txt-td
  11. %h1= title
  12. - if subtitle
  13. %p= subtitle