@extends('superadmin.layouts.app') @section('title', 'Edit User') @section('content')

Edit User

Edit User: {{ $user->name }}

@csrf @method('PUT')
@error('name') {{ $message }} @enderror
@error('email') {{ $message }} @enderror
Username must be unique and contain only letters, numbers, and underscores. @error('username') {{ $message }} @enderror
@error('role') {{ $message }} @enderror
Leave blank to keep current password. Minimum 8 characters if changing. @error('password') {{ $message }} @enderror

User Information

@if($user->profile_picture_url) @else
@endif
@if($user->email_verified_at) @endif
ID: {{ $user->id }}
Status: @if($user->banned_at) Banned @else Active @endif
Joined: {{ $user->created_at->format('M d, Y') }}
Last Updated: {{ $user->updated_at->format('M d, Y H:i') }}
Email Verified: {{ $user->email_verified_at->format('M d, Y') }}

Quick Actions

@if($user->role !== 'super_admin') @if($user->banned_at)
@csrf
@else
@csrf
@endif
@csrf @method('DELETE')
@endif View Statistics

Role Permissions

@endsection @push('scripts') @endpush