@extends('layouts.app') @section('title', 'Permissions') @section('content')

Permission Management

Enable or disable permissions for each page action

@include('partials.alerts')
@foreach($pages as $page) @foreach(['view', 'create', 'update', 'delete'] as $action) @if(in_array($action, $page['actions'])) @else @endif @endforeach @endforeach
Page View Create Update Delete
{{ $page['name'] }}
{{ $page['description'] }}
@csrf
@endsection @push('scripts') @endpush