@extends('layouts.app') @section('title', ($isNew?'New ':'Edit ').'Role') @section('crumbs', 'Roles ยท '.($isNew?'New':'Edit').'') @section('content')

{{ $isNew?'New':'Edit' }} role

@csrf @if(!$isNew)@method('PUT')@endif

Permissions

@foreach($matrix as $mod => $perms)

{{ ucfirst($mod) }}

@foreach($perms as $p)@endforeach
@endforeach @if($role->is_system)

System role permissions are locked.

@endif Cancel
@endsection