@extends('layouts.panel') @section('title', $mod ? 'Moderator edit' : 'Notun Moderator') @section('content') @php $groups = collect(config('panel.permissions'))->groupBy(fn ($v) => $v[1], true); $have = old('perms', $perms); @endphp
@csrf @if ($mod) @method('PUT') @endif

Permissions

@foreach ($groups as $g => $items)

{{ $g }}

@foreach ($items as $key => $v) @endforeach
@endforeach
Back
@endsection