@extends('layouts.admin') @section('buttons') @can('update', $record) @endcan @can('delete', $record) @endcan Back @endsection @section('content')
@csrf
@csrf
{{ $config['page_name'] }}
@row([ 'type' => 'textinput', 'field' => 'title' ]) @if($record->is_super_admin)
Yes
@else
@foreach($permissions_type as $pType) @endforeach @foreach($permissions_list as $section => $sectionName) @foreach($permissions_type as $pType) @endforeach @endforeach
{{ $pType }}
{{ $sectionName }}
permissions[$section][$pType]) && $record->permissions[$section][$pType] === '1') ? 'checked="checked"' : '' }}>
@endif
@include('admin.base.footer')
@endsection