diff --git a/app/Mail/Forms/SubmissionConfirmationMail.php b/app/Mail/Forms/SubmissionConfirmationMail.php index 5305b66..933122f 100644 --- a/app/Mail/Forms/SubmissionConfirmationMail.php +++ b/app/Mail/Forms/SubmissionConfirmationMail.php @@ -42,6 +42,7 @@ class SubmissionConfirmationMail extends OpenFormMail implements ShouldQueue ->markdown('mail.form.confirmation-submission-notification',[ 'fields' => $formatter->getFieldsWithValue(), 'form' => $form, + 'noBranding' => $form->no_branding ]); } diff --git a/resources/views/mail/form/confirmation-submission-notification.blade.php b/resources/views/mail/form/confirmation-submission-notification.blade.php index e11f9b3..7050394 100644 --- a/resources/views/mail/form/confirmation-submission-notification.blade.php +++ b/resources/views/mail/form/confirmation-submission-notification.blade.php @@ -1,4 +1,4 @@ -@component('mail::message') +@component('mail::message', ['noBranding' => $noBranding]) {!! $form->notification_body !!} diff --git a/resources/views/vendor/mail/html/button.blade.php b/resources/views/vendor/mail/html/button.blade.php new file mode 100644 index 0000000..e74fe55 --- /dev/null +++ b/resources/views/vendor/mail/html/button.blade.php @@ -0,0 +1,19 @@ +
+
|
+
+{{ Illuminate\Mail\Markdown::parse($slot) }} + | +
+
|
+
+
|
+
+{{ Illuminate\Mail\Markdown::parse($slot) }} + | +