<x-app-layout>
    @section('title')
        Pages Management
    @endsection
    <!-- Page Heading -->

    <!-- DataTales Example -->
    <div class="card shadow mb-4">
        <div class="card-header py-3">
            <h6 class="m-0 font-weight-bold text-primary">
                create
            </h6>
        </div>
        <div class="card-body">
            <div class="table-responsive">
                <form action="{{ route('admin.banksection.update',$data->id) }}" method="POST">
                    @csrf
                    @method('put')
                    <div class="row">
                        <div class="col-12">
                            <div class="mt-3">
                                <label for="">Title</label>
                                <textarea name="title" class="form-control summernote">{{ $data->title }}</textarea>
                            </div>
                        </div>

                        <div class="col-12">
                            <div class="mt-3">
                                <label for="">Description</label>
                                <textarea name="description" class="form-control summernote" required>{{ $data->description }}</textarea>
                            </div>
                        </div>
                        <div class="col-12">
                            <div class="mt-3">
                                <button type="submit" class="btn btn-primary">Update</button>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</x-app-layout>
