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

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

Update user information
@if(session('error')) @endif
@csrf @method('PUT')
@error('name')
{{ $message }}
@enderror
@error('email')
{{ $message }}
@enderror
@error('password')
{{ $message }}
@enderror
Leave blank to keep current password. Must be at least 8 characters if changed.
@error('password_confirmation')
{{ $message }}
@enderror
Cancel
User Details
Status: @if($user->email_verified_at) Verified @else Pending Verification @endif
Role: @if($user->roles->count() > 0) @foreach($user->roles as $role) {{ ucfirst(str_replace('-', ' ', $role->slug)) }} @endforeach @else No role assigned @endif
Created: {{ $user->created_at->format('M d, Y \a\t g:i A') }}
Last Updated: {{ $user->updated_at->format('M d, Y \a\t g:i A') }}
Important Notes
  • Changing the email will require the user to verify their new email address
  • Password changes will log the user out of all sessions
  • The user will retain their role and access permissions
@endsection