metamaps--metamaps/app/views/mailboxer/notification_mailer/new_notification_email.html.erb

11 lines
415 B
Text
Raw Normal View History

<!DOCTYPE html>
<% mail = ApplicationMailer.mail_for_notification(@notification) %>
2016-12-13 03:07:15 +00:00
<div style="padding: 16px; background: white; text-align: left;">
<% if mail %>
<% @notification.update(body: mail.html_part&.body&.decoded) %>
<%= raw mail.html_part&.body&.decoded %>
<% end %>
<p style="font-size: 12px;">Make sense with Metamaps</p>
<%= render partial: 'shared/mailer_unsubscribe_link' %>
</div>