@extends('backend.layouts.app') @section('title') {{ 'Create Role | '.env('APP_NAME') }} @endsection @section('breadcrumbs') @include('backend.layouts.partials.breadcrumbs',['current' => 'Create Role']) @endsection @push('before-css') @endpush @section('content')
{{csrf_field()}}
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@foreach($laravelAdminMenus->menus as $section) @if(count(collect($section->items)) > 0) @foreach($section->items as $key=>$menu) @php @endphp @php $permissions = \App\Permission::permissionList($menu->title); @endphp @endforeach @endif @endforeach
Grant Permissions
No. Menu View Add Edit Delete
{{$key+1}} {{ $menu->title }}
Back
@endsection @push('js') @endpush