{{ html()->modelForm($logged_in_user, 'PATCH', route('frontend.user.profile.update'))->class('form-horizontal')->attribute('enctype', 'multipart/form-data')->open() }}
{{ html()->label(__('validation.attributes.frontend.avatar'))->for('avatar') }}
avatar_type == 'gravatar' ? 'checked' : '' }} /> Gravatar avatar_type == 'storage' ? 'checked' : '' }} /> Upload @foreach ($logged_in_user->providers as $provider) @if (strlen($provider->avatar)) avatar_type == $provider->provider ? 'checked' : '' }} /> {{ ucfirst($provider->provider) }} @endif @endforeach
{{ html()->label(__('validation.attributes.frontend.first_name'))->for('first_name') }} {{ html()->text('first_name') ->class('form-control') ->placeholder(__('validation.attributes.frontend.first_name')) ->attribute('maxlength', 191) ->required() ->autofocus() }}
{{ html()->label(__('validation.attributes.frontend.last_name'))->for('last_name') }} {{ html()->text('last_name') ->class('form-control') ->placeholder(__('validation.attributes.frontend.last_name')) ->attribute('maxlength', 191) ->required() }}
@if ($logged_in_user->canChangeEmail())
{{ __('strings.frontend.user.change_email_notice') }}
{{ html()->label(__('validation.attributes.frontend.email'))->for('email') }} {{ html()->email('email') ->class('form-control') ->placeholder(__('validation.attributes.frontend.email')) ->attribute('maxlength', 191) ->required() }}
@endif
{{ html()->label(__('validation.attributes.frontend.timezone'))->for('timezone') }}
{{ form_submit(__('labels.general.buttons.update')) }}
{{ html()->closeModelForm() }} @push('after-scripts') @endpush