@extends('admin.layouts.master') @section('title','Create a new role') @section('breadcum') @component('components.breadcumb',['secondaryactive' => 'active']) @slot('heading') {{ __('Role') }} @endslot @slot('menu1') {{ __('Role') }} @endslot @slot('button')
{{ __('Back') }}
@endslot @endcomponent
{{__("Create a new role")}}
@csrf
@error('name') {{ $message }} @enderror

{{ __('Assign Permissions to role') }}

@foreach($custom_permission as $key => $group) @endforeach
{{__('Section')}} {{__("Available permissions")}}
{{ ucfirst($key) }} @forelse($group as $permission) @empty {{ __("No permission in this group !") }} @endforelse
@endsection @section('script') @endsection