@csrf @method('PUT') {{-- Permission Information --}}

{{ __('Permission Details') }}

{{ __('Use the format') }} module.action {{ __('for consistent naming.') }}

{{-- Name --}}

{{ __('Use dot notation: module.action') }}

@error('name')

{{ $message }}

@enderror
{{-- Guard --}}
@error('guard_name')

{{ $message }}

@enderror
{{-- Current Assignment Info --}}

{{ __('Assignment Info') }}

{{ __('Roles currently using this permission.') }}

{{ __('Created') }}

{{ $permission->created_at->format('M j, Y') }}

{{ __('Guard') }}

{{ $permission->guard_name }}

{{ __('Used by Roles') }}

{{ $permission->roles->count() }}

@if($permission->roles->count() > 0)
@foreach($permission->roles as $role) {{ $role->name }} @endforeach
@endif
{{-- Actions --}}
{{ __('Back to Permissions') }}