@extends('bo.layouts.backend')

@section('title', 'Modifier un utilisateur · BO LineUp France')

@section('content')
    <div class="bg-body-light">
        <div class="content content-full">
            <h1 class="h3 fw-bold mb-1">Modifier utilisateur #{{ $targetUser->id }}</h1>
            <h2 class="fs-base lh-base fw-medium text-muted mb-0">{{ $targetUser->name }} · {{ $targetUser->email }}</h2>
        </div>
    </div>

    <div class="content">
        <form method="POST" action="{{ route('bo.users.update', $targetUser) }}">
            @csrf
            @method('PUT')
            @include('bo.users._form', ['targetUser' => $targetUser])
        </form>
    </div>
@endsection
