@extends('layouts.app') @section('title', $campaign?->exists ? 'Edit campaign' : 'New campaign') @section('content')

{{ $campaign?->exists ? 'Edit campaign' : 'New campaign' }}

Leads carry a free-text campaign name, so the name is what ties them together.

Back
@csrf @if ($campaign?->exists) @method('PUT') @endif

Campaign

Must match the campaign value recorded on the leads you want attributed. Renaming re-counts from scratch. @error('name'){{ $message }}@enderror
@error('budget'){{ $message }}@enderror
@error('spent'){{ $message }}@enderror
@error('starts_on'){{ $message }}@enderror
@error('ends_on'){{ $message }}@enderror
Cancel
@endsection