2022-09-20 19:59:52 +00:00
|
|
|
@component('mail::message')
|
|
|
|
|
|
|
|
Hello there 👋
|
|
|
|
|
|
|
|
Your form "{{$form->title}}" has a new submission.
|
|
|
|
|
|
|
|
@foreach($fields as $field)
|
|
|
|
@if(isset($field['value']))
|
|
|
|
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
**{{$field['name']}}**
|
2024-01-31 11:21:28 +00:00
|
|
|
@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']!!}
|
2024-01-31 11:21:28 +00:00
|
|
|
@endif
|
2022-09-20 19:59:52 +00:00
|
|
|
@endif
|
|
|
|
@endforeach
|
|
|
|
|
|
|
|
@endcomponent
|