@extends('layouts.app') @section('title', 'Edit user — ' . $user->email) @section('breadcrumb') Dashboard Users {{ $user->email }} @endsection @push('styles') @endpush @section('content') @if($user->id === auth()->id())

Editing your own account

You cannot change your own role or deactivate yourself. Ask another super-admin to do that.

@endif
@csrf @method('PUT')

Account details

@error('name')
{{ $message }}
@enderror
@error('email')
{{ $message }}
@enderror
@if($user->id === auth()->id()) {{-- Re-submit the user's own role so the disabled select doesn't drop the field. --}} @endif @error('role')
{{ $message }}
@enderror
Leave blank to keep the current password. Min 10 chars · mixed case · letters · numbers · symbols.
@error('password')
{{ $message }}
@enderror
Cancel
@endsection