@extends('layouts.app')
@section('title','New Recurring Expense')
@section('content')
<x-ui.page-toolbar title="New Recurring Expense" description="Create a reminder schedule that generates pending expenses on due dates." :breadcrumbs="[['label'=>'Dashboard','url'=>route('dashboard')],['label'=>'Expenses','url'=>route('expenses.index')],['label'=>'Recurring','url'=>route('recurring-expenses.index')],['label'=>'New']]" />
<form method="POST" action="{{ route('recurring-expenses.store') }}" class="mf-card mf-card-body" data-standard-form>@csrf
    @include('recurring-expenses._form')
    <div class="mt-5 flex justify-end gap-2"><a class="mf-btn" href="{{ route('recurring-expenses.index') }}">Cancel</a><button class="mf-btn mf-btn-primary">Create schedule</button></div>
</form>
@endsection