@extends('layouts.admin') @section('title',__('Create a new role')) @section('content')

reply {{__('Create a new role')}}

@csrf
@error('name') {{ $message }} @enderror

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

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