@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