@extends('layouts/client') @section('title', __('client.profile.index')) @section('scripts') @endsection @section('content')
@include('shared/alerts')

{{ __('client.profile.index') }}

{{ __('client.profile.index_description') }}

@csrf
@include('shared.input', [ 'name' => 'firstname', 'label' => __('global.firstname'), 'value' => auth('web')->user()->firstname ?? old('firstname'), ])
@include('shared.input', [ 'name' => 'lastname', 'label' => __('global.lastname'), 'value' => auth('web')->user()->lastname ?? old('lastname'), ])
@include('shared.input', [ 'name' => 'email', 'label' => __('global.email'), 'type' => 'email', 'value' => auth('web')->user()->email ?? old('email'), 'disabled' => true, ])
@include('shared.phone-intl', [ 'name' => 'phone', 'label' => __('global.phone'), 'value' => auth('web')->user()->phone ?? old('phone'), 'country' => auth('web')->user()->country ?? old('country', 'FR'), ])
@include('shared/select', [ 'name' => 'locale', 'label' => __('global.locale'), 'options' => $locales, 'value' => auth('web')->user()->locale ?? old('locale'), ])
@if (isset($providers) && count($providers) > 0) @endif
@endsection