metamaps--metamaps/app/views/mailboxer/notification_mailer/new_notification_email.html.erb
2016-12-12 22:07:15 -05:00

10 lines
415 B
Text

<!DOCTYPE html>
<% 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>