@extends('admin.layouts.master') @section('title','Edit Role') @section('maincontent') @include('admin.layouts.topbar',$data)
{{__("Edit role")}}
@csrf @method('PUT')
@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('scripts') @endsection