mailers: in avis requests, replace the small CTA link by a large button
Fix #3402
This commit is contained in:
parent
29a136eb10
commit
dc6ff3b4ea
2 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,7 @@
|
|||
# Preview all emails at http://localhost:3000/rails/mailers/avis_mailer
|
||||
class AvisMailer < ApplicationMailer
|
||||
helper MailerHelper
|
||||
|
||||
layout 'mailers/layout'
|
||||
|
||||
def avis_invitation(avis)
|
||||
|
|
|
@ -25,9 +25,9 @@
|
|||
|
||||
- if @avis.instructeur.present?
|
||||
%p
|
||||
= link_to "Cliquez ici pour donner votre avis", avis_link
|
||||
= round_button("Donner votre avis", avis_link, :primary)
|
||||
- else
|
||||
%p
|
||||
= link_to "Inscrivez-vous pour donner votre avis", avis_link
|
||||
= round_button("Inscrivez-vous pour donner votre avis", avis_link, :primary)
|
||||
|
||||
= render partial: "layouts/mailers/signature"
|
||||
|
|
Loading…
Reference in a new issue