Files
opnform-host-nginx/resources/views/mail/form/confirmation-submission-notification.blade.php
Chirag 0a33581c0a Editable Submissions (#49)
* Editable Submissions

* refactor some code

* Update composer.lock

Co-authored-by: JhumanJ <julien@nahum.net>
2023-01-10 14:52:14 +01:00

30 lines
794 B
PHP

@component('mail::message', ['noBranding' => $noBranding])
{!! $form->notification_body !!}
@if($form->editable_submissions)
@component('mail::button', ['url' => $form->share_url.'?submission_id='.$submission_id])
Edit submission
@endcomponent
@endif
@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