@if (session('success'))
{{ session('success') }}
@endif @if (session('error'))
{{ session('error') }}
@endif
{{ __('Workspace') }}

{{ __('WhatsApp') }} {{ __('Forms') }}

{{ __('Native interactive forms inside the WhatsApp chat — capture leads, run surveys, take bookings.') }}

@csrf
New form
{{ __('Total') }}
{{ $stats['all'] }}
{{ __('Published') }}
{{ $stats['published'] }}
{{ __('Drafts') }}
{{ $stats['draft'] }}
{{ __('Submissions') }}
{{ $stats['submissions'] }}
{{ __('Form') }}
{{ __('Type') }}
{{ __('Fields') }}
{{ __('Submissions') }}
{{ __('Publish on') }}
{{ __('Actions') }}
@forelse ($forms as $form)
{{ $form->status }} {{ $form->title }}
{{ $form->slug }}{{ $form->meta_flow_id ? ' · meta_flow_id ' . $form->meta_flow_id : '' }}
@if (!empty($form->publish_error))
Publish error: {{ $form->publish_error }}
@endif
{{ str_replace('_', ' ', $form->audience_type) }}
{{ $form->fieldsCount() }}
@php $multiWaba = ($wabaConfigs ?? collect())->count() > 1; @endphp {{-- Publish-on column: number picker (when >1 number) + the Publish button, together in one form. --}}
@csrf @if ($multiWaba) @endif @if ($form->status !== 'published') @else @endif
{{-- Actions column: edit / duplicate / delete. --}}
Edit
@csrf
@csrf @method('DELETE')
@empty
{{ __('No forms yet') }}

{{ __('Build your first interactive form — drag inputs, set the destination, publish to Meta, and send it from any flow.') }}

Build a form
@endforelse
{{ __('Showing') }} {{ $forms->count() }} of {{ $forms->total() }}
@if ($forms->hasPages())
{{ $forms->links() }}
@endif