@php /** * @var array $data */ @endphp @extends('crud.form') @section('title') {{ $title }} @endsection @section('form-body')
@foreach(array_chunk($data['availablePermissions'], 4, true) as $chunk)
@foreach($chunk as $permission => $label) @endforeach @foreach($chunk as $permission => $label) @endforeach
{{ $label }}
permissions))) checked @endif value="{{ $permission }}" />
@endforeach
@endsection