{{ html()->modelForm($logged_in_user, 'PATCH', route('admin.profile.update'))->class('form-horizontal')->attribute('enctype', 'multipart/form-data')->open() }}
{{ html()->label(__('validation.attributes.frontend.avatar'))->for('avatar') }}
avatar_type == 'gravatar' ? 'checked' : '' }} /> {{__('validation.attributes.frontend.gravatar')}}    avatar_type == 'storage' ? 'checked' : '' }} /> {{__('validation.attributes.frontend.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())
@lang('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 @if(config('registration_fields') != NULL) @php $fields = json_decode(config('registration_fields')); $inputs = ['text','number','date']; @endphp @foreach($fields as $item)
@if(in_array($item->type,$inputs)) {{ html()->label(__('labels.backend.general_settings.user_registration_settings.fields.'.$item->name))->for('last_name') }} @elseif($item->type == 'gender') @elseif($item->type == 'textarea') @endif
@endforeach @endif
{{ form_submit(__('labels.general.buttons.update')) }}
{{ html()->closeModelForm() }} @push('after-scripts') @endpush