@extends('layouts.app') @section('title', $role->exists ? 'Edit role: '.$role->name : 'New role') @section('content')
@csrf @if ($role->exists) @method('PUT') @endif
@foreach (\App\Support\Permissions\PermissionGrid::STANDARD_ACTIONS as $action) @endforeach @foreach ($rows as $row) @foreach ($row['standard'] as $action => $permission) @endforeach @endforeach
Module {{ ucfirst($action) }}
Other actions
{{ $row['label'] }} @if ($permission) name, $checked, true))> @endif @foreach ($row['extra'] as $permission) @endforeach

Only modules this school uses, and only permissions you hold yourself, are shown.

@endsection