opnform/resources/views/mail/form/confirmation-submission-not...

25 lines
635 B
PHP
Raw Normal View History

@component('mail::message', ['noBranding' => $noBranding])
2022-09-20 19:59:52 +00:00
{!! $form->notification_body !!}
@if($form->notifications_include_submission)
As a reminder, here are your answers:
@foreach($fields as $field)
@if(isset($field['value']))
--------------------------------------------------------------------------------
**{{$field['name']}}**
{!! is_array($field['value'])?implode(',',$field['value']):$field['value']!!}
@endif
@endforeach
@endif
<p style="text-align:center"><small>You are receiving this email because you answered the form: <a href="{{url("forms/".$form->slug)}}">"{{$form->title}}"</a>.</small></p>
@endcomponent