@extends('admin.layouts.app')

@section('title', 'Edit User')
@section('subtitle', 'Update account details, switch the assigned role, or reset the password from one screen.')

@section('content')
    <form action="{{ route('admin.users.update', $user) }}" method="POST" class="admin-grid">
        @csrf
        @method('PUT')

        @include('admin.users.partials.form', [
            'submitLabel' => 'Save user',
            'user' => $user,
        ])
    </form>
@endsection
