@extends('layouts.app') {{-- Push custom styles to the 'styles' stack in your layout --}} @push('styles') @endpush @section('content')
@include('partials.header') @include('partials.sidebar')

Role

@if (session('success')) @endif @if (session('error')) @endif @forelse ($roles as $role) @empty @endforelse
Name Permission Actions
{{ $role->name }} {{-- Show a count and a button to trigger the modal --}} {{ $role->permissions->count() }} Permissions
@csrf @method('DELETE') {{-- Add a confirmation for delete action --}}
No roles found.
@endsection