@extends('admin.layouts.master') @section('title','Create a new role') @section('maincontent') @include('admin.layouts.topbar',$data)
{{__("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