@extends('layouts.vertical', ['pageTitle' => 'Edit User']) @section('page-title') @include('layouts.partials/app-pagetitle', [ 'pageTitle' => 'EDIT USER', 'pageSubTitle1' => 'Admin', 'pageSubTitle2' => 'User Management' ])
@endsection @section('content')
@csrf @method('PUT')
User Information
@if ($errors->any())
Validation Errors:
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@error('name')
{{ $message }}
@enderror
@error('email')
{{ $message }}
@enderror
Minimum 8 characters @error('password')
{{ $message }}
@enderror
@foreach($roles as $role)
hasRole($role->name) || in_array($role->id, old('roles', [])) ? 'checked' : '' }}>
@endforeach
Additional Information (Optional)
Actions
Cancel
User Details

Created:
{{ $user->created_at->format('M d, Y H:i') }}

Last Updated:
{{ $user->updated_at->format('M d, Y H:i') }}

Email Verified:
@if($user->email_verified_at) Yes @else No @endif

@endsection @push('scripts') @endpush