@extends('layouts.app')

@section('title', 'New lead')
@section('heading', 'New lead')

@section('content')
    <div class="card">
        <form method="POST" action="{{ route('leads.store') }}">
            @csrf
            @include('leads._form', ['lead' => null, 'stages' => $stages, 'agents' => $agents])
            <button type="submit" class="btn btn-primary">Create</button>
            <a href="{{ route('leads.index') }}" class="btn btn-ghost">Cancel</a>
        </form>
    </div>
@endsection
