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

35 lines
1014 B
PHP
Raw Permalink Normal View History

@component('mail::message', ['noBranding' => $noBranding])
2022-09-20 19:59:52 +00:00
{!! $form->notification_body !!}
@if($form->editable_submissions)
@component('mail::button', ['url' => $form->share_url.'?submission_id='.$submission_id])
{{($form->editable_submissions_button_text ?? 'Edit submission')}}
@endcomponent
@endif
2022-09-20 19:59:52 +00:00
@if($form->notifications_include_submission)
As a reminder, here are your answers:
@foreach($fields as $field)
@if(isset($field['value']))
--------------------------------------------------------------------------------
**{{$field['name']}}**
@if($field['type'] == 'files')
<br/>
@foreach($field['email_data'] as $link)
<a href="{{$link['signed_url']}}">{{$link['label']}}</a> <br/>
@endforeach
@else
2022-09-20 19:59:52 +00:00
{!! is_array($field['value'])?implode(',',$field['value']):$field['value']!!}
@endif
2022-09-20 19:59:52 +00:00
@endif
@endforeach
@endif
2024-01-30 13:15:38 +00:00
<p style="text-align:center"><small>You are receiving this email because you answered the form: <a href="{{front_url("forms/".$form->slug)}}">"{{$form->title}}"</a>.</small></p>
2022-09-20 19:59:52 +00:00
@endcomponent