opnform/resources/views/mail/form/submission-notification.bla...

20 lines
375 B
PHP
Raw Normal View History

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']}}**
{!! is_array($field['value'])?implode(',',$field['value']):$field['value']!!}
@endif
@endforeach
@endcomponent