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

Edit User

Update user information

Back to Dashboard
@if (session('success'))
{{ session('success') }}
@endif @if (session('error'))
{{ session('error') }}
@endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

User Information

@csrf @method('PUT')
@error('name')

{{ $message }}

@enderror
@error('email')

{{ $message }}

@enderror
@error('role')

{{ $message }}

@enderror

Reviewer: Can review and approve/reject applications
Admin: Full access including user management and system settings

Change Password (Optional)

Leave blank to keep the current password

@error('password')

{{ $message }}

@enderror

Only fill this if you want to change the password

Current User Status:

  • Email Status: @if($user->hasVerifiedEmail()) ✓ Verified @else ✗ Not Verified @endif
  • Current Role: {{ $user->role === 'user' ? 'Reviewer' : ucfirst($user->role) }}
  • Created: {{ $user->created_at->format('M d, Y') }}
Cancel
@if($user->id !== auth()->id())

Danger Zone

Once you delete this user, all of their data will be permanently removed.

@csrf @method('DELETE')
@endif
@endsection