@extends('layouts.app', ['title' => $form->name.' submissions']) @section('content')

{{ $form->name }}

{{ number_format($submissions->total()) }} submissions, newest first.

Back to form Export CSV
@if ($submissions->isEmpty())
No submissions yet. Share the form link to start collecting leads.
@else
@foreach (collect($form->fields)->take(4) as $field)@endforeach @foreach ($submissions as $s) @foreach (collect($form->fields)->take(4) as $field) @php($v = $s->data[$field['key']] ?? null) @endforeach @endforeach
Submitted Contact{{ $field['label'] }}Source
{{ $s->created_at->timezone($currentAccount->timezone)->format('d M Y, h:i A') }} @if ($s->contact){{ $s->contact->full_name }}@else — @endif{{ is_bool($v) ? ($v ? 'Yes' : 'No') : \Illuminate\Support\Str::limit((string) $v, 60) }}{{ $s->utm['utm_source'] ?? '—' }}
{{ $submissions->links() }}
@endif
@endsection