@extends('layouts.app') @section('title', 'Permissions') @section('content')
Enable or disable permissions for each page action
| Page | View | Create | Update | Delete |
|---|---|---|---|---|
{{ $page['name'] }}{{ $page['description'] }} |
@foreach(['view', 'create', 'update', 'delete'] as $action)
@if(in_array($action, $page['actions']))
@else | — | @endif @endforeach