@include("shared.input", ["name" => "firstname", "label" => __('global.firstname'), "value" => $firstname ?? old("firstname")])
@include("shared.input", ["name" => "lastname", "label" => __('global.lastname'), "value" => $lastname ?? old("lastname")])
@include("shared.input", ["name" => "email", "label" => __('global.email'), "type" => "email", "value" => $user->getEmail(), 'attributes' => ['readonly' => true]])
@include("shared.input", ["name" => "phone", "label" => __('global.phone')])
@include("shared.input", ["name" => "address", "label" => __('global.address')])
@include("shared.input", ["name" => "address2", "label" => __('global.address2')])
@include("shared.input", ["name" => "zipcode", "label" => __('global.zip')])
@include("shared.select", ["name" => "country", "label" => __('global.country'), "options" => $countries, "value" => old("country", "FR")])
@include("shared.input", ["name" => "city", "label" => __('global.city')])
@include("shared.input", ["name" => "region", "label" => __('global.region')])
@if (setting('register.toslink'))
@endif
@if (isset($redirect))
@endif