@extends('adminlte::page') @section('title', 'Roles & Permissions') @section('content_header')

Roles & Permissions Management

@stop @section('content')
{{-- Assign Role to User --}}

Assign Role to User

@if(session('success'))
{{ session('success') }}
@endif
@csrf
{{-- Manage Role Permissions --}}

Manage Role Permissions

@foreach($roles as $index => $role)
@csrf
@foreach($permissions as $permission)
permissions->contains('name', $permission->name) ? 'checked' : '' }}>
@endforeach
@endforeach
@stop @section('css') {{-- You can add custom styling here if needed --}} @stop @section('js') @stop