@php
$nameParts = explode(' ', request()->user()->name);
$first_name = $nameParts[0];
$last_name = isset($nameParts[1]) ? implode(' ', array_slice($nameParts, 1)) : '';
@endphp
{{ __('front.user_details') }}
@if ($errors->has('first_name'))
{{ $errors->first('first_name') }}
@endif
@if ($errors->has('last_name'))
{{ $errors->first('last_name') }}
@endif
@if ($errors->has('email'))
{{ $errors->first('email') }}
@endif
{{ __('front.company_details') }}
@if ($errors->has('company_name'))
{{ $errors->first('company_name') }}
@endif