This commit is contained in:
Nicolas Bally 2020-06-26 17:52:40 +02:00
parent 81fffee269
commit 2b4906171f
2 changed files with 4 additions and 4 deletions

View File

@ -105,7 +105,7 @@ class MailHist < ApplicationRecord
mail_history.subject_send = @subject mail_history.subject_send = @subject
mail_history.body_send = mail.body.encoded mail_history.body_send = mail.body.encoded
#mail.deliver mail.deliver
mail_history.save mail_history.save

View File

@ -9,8 +9,8 @@
%body{:style => "background:#dadada;"} %body{:style => "background:#dadada;"}
%div{:style => "width:90%;max-width:600px;margin:30px auto;background:white;"} %div{:style => "width:90%;max-width:600px;margin:30px auto;background:white;"}
=link_to image_tag("https://www.mamotosurcircuit.com/entete-mail.jpg", :style => "width:100%;margin-bottom:20px;"), "https://www.mamotosurcircuit.com/", :target => "_blank" =link_to image_tag("https://www.mamotosurcircuit.com/entete-mail.jpg", :style => "width:100%;margin-bottom:10px;display:block;"), "https://www.mamotosurcircuit.com/", :target => "_blank"
= yield %div{:style => "padding:0 20px;font-family:lato, arial,sans serif;"}= yield
=link_to image_tag("https://www.mamotosurcircuit.com/entete-mail.jpg", :style => "width:100%;margin-top:20px;"), "https://www.mamotosurcircuit.com/", :target => "_blank" =link_to image_tag("https://www.mamotosurcircuit.com/footer-mail.jpg", :style => "width:100%;margin-top:10px;display:block;"), "https://www.mamotosurcircuit.com/", :target => "_blank"