@extends('admin.layouts.app')

@section('title', $title)

@section('content')
    <div class="col-md-6">
        <!-- Page Heading -->
        <div class="row mb-3">
            <h4 class="c-grey-900">{{ $title }}</h4>
        </div>

        <!-- Form -->
        <div class="row">
            <div class="bgc-white bd bdrs-3 p-20 mB-20">
                <h6 class="c-grey-900 pb-2">Edit Menu</h6>

                <div class="row">
                    <form action="{{ route('ch-admin.menus.update', $menu->id) }}" method="POST">
                        @csrf
                        @method('PUT')

                        @include('admin.menus.partial.form', ['buttonLabel' => 'Update Menu'])
                    </form>
                </div>
            </div>
        </div>
    </div>
@endsection
