@extends('layouts.master') @section('title',__('Create a new role')) @section('breadcum') @endsection @section('maincontent')
{{ __('Back') }}
{{__("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