This commit is contained in:
Nicolas Bally 2020-02-27 17:41:27 +01:00
parent 1b82c04734
commit a46d75601b
4 changed files with 12 additions and 3 deletions

View File

@ -8,11 +8,12 @@ class GeneralMails < ActionMailer::Base
def general(lang_slug, mail_type, email, options = {}) def general(lang_slug, mail_type, email, options = {})
@options = options
@m_odr = @options[:m_odr] @m_odr = @options[:m_odr]
@m_odr_rep = @options[:m_odr_rep] @m_odr_rep = @options[:m_odr_rep]
@options = options
@mail_type = mail_type @mail_type = mail_type

View File

@ -118,6 +118,9 @@
.qi_row .qi_row
.qi_pannel.qi_plain.padding .qi_pannel.qi_plain.padding
= f.input :email_from, :label => "Email d'envoi :"
Mails types : Mails types :
%hr %hr

View File

@ -34,7 +34,10 @@
#odr_form #odr_form
.form_pannel= yield .form_pannel
= yield
%br
%br
-if @m_odr -if @m_odr

View File

@ -15,7 +15,9 @@
-else -else
%p %p
Merci pour votre participation Merci pour votre participation
%br
%br
-if false -if false
=@m_odr_rep.token =@m_odr_rep.token
%br %br