@extends('layouts.superadmin') @section('title', "Edit Administrator: {$admin->name}") @section('content')

Edit Administrator Account

Update account details, role allocation, and granular module permissions for {{ $admin->name }}.

Back to Staff Directory
@if($errors->any())
Please correct the validation errors:
@endif
@csrf @method('PUT')
@foreach($permissions as $permKey => $permLabel) @php $isPermChecked = old("permissions.{$permKey}", !empty($admin->permissions[$permKey]) || empty($admin->permissions)); @endphp @endforeach
Change Password (Leave blank to keep existing password)
Cancel
@endsection