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

11 lines
415 B
Text
Raw Normal View History

<!DOCTYPE html>
2016-12-08 19:39:41 +00:00
<% mail = ApplicationMailer.mail_for_notification(@notification) %>
<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>