@extends('backend.template')

@section('content')
    <div class="page-content">
        <div class="container-fluid">
            <!-- start page title -->
            <div class="row">
                <div class="col-12">
                    <div class="page-title-box d-sm-flex align-items-center justify-content-between">
                        <h4 class="mb-sm-0">{{ $title }}</h4>

                        <div class="page-title-right">
                            <ol class="breadcrumb m-0">
                                <li class="breadcrumb-item"><a href="javascript: void(0);">Dashboards</a></li>
                                <li class="breadcrumb-item active">{{ $title }}</li>
                            </ol>
                        </div>

                    </div>
                </div>
            </div>
            <!-- end page title -->
            <div class="row">
                <div class="col-lg-12">
                    <div class="card">
                        <div class="card-body">
                            {{ html()->modelForm($role, 'PUT')->route('role.update', $role->id)->class(['needs-validation'])->attributes(['novalidate'])->open() }}

                            @include('crud.generated.partials.role.action', ['btnType' => 'Save'])

                            {{ html()->closeModelForm() }}
                        </div>
                    </div>
                </div>
            </div>
            <!--end row-->

        </div>
        <!-- container-fluid -->
    </div>
@endsection

@push('js')
    <script src="{{ asset('assets/js/pages/form-validation.init.js') }}"></script>
@endpush