demarches-normaliennes/app/views/layouts/mailers/_logo.html.haml
Pierre de La Morinerie 5bbcd600fb mailers: extract more of the template to partials
This will allow to re-use these partials in other emails
2019-07-23 14:53:32 +02:00

5 lines
231 B
Text

- if url.present?
%table{ width: "100%", border: "0", cellspacing: "0", cellpadding: "0" }
%tr
%td{ align: "center" }
= image_tag url, height: "150", style: "display:block; max-height: 150px; max-width: 150px;"