1
0
puyopuyotetr.is/app/views/application/mailer/_heading.html.haml

14 lines
563 B
Plaintext
Raw Normal View History

-# locals: (title:, image_url: nil, subtitle: nil)
%table.email-w-full.email-header-heading-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
%tr
%td.email-header-heading-td
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
%tr
- if image_url
%td.email-header-heading-img-td
= image_tag image_url, alt: '', width: 56, height: 56
%td.email-header-heading-txt-td
%h1= title
- if subtitle
%p= subtitle