@extends('layouts/default') {{-- Page title --}} @section('title') {{ trans('general.editprofile') }} @stop {{-- Account page content --}} @section('content')
{!! $errors->first('first_name', '') !!}
{!! $errors->first('last_name', '') !!}
@can('self.edit_location') @include ('partials.forms.edit.location-profile-select', ['translated_name' => trans('general.location')]) @endcan
@if (!config('app.lock_passwords')) {!! Form::locales('locale', old('locale', $user->locale), 'select2') !!} {!! $errors->first('locale', '') !!} @else

{{ trans('general.feature_disabled') }}

@endif
@if ($snipeSettings->allow_user_skin=='1')
{!! Form::user_skin('skin', old('skin', $user->skin), 'select2') !!} {!! $errors->first('skin', ':message') !!}
@endif
{!! $errors->first('phone', '') !!}
{!! $errors->first('website', '') !!}
{!! $errors->first('gravatar', '') !!}

{{ $user->present()->fullName() }} avatar image {!! trans('general.gravatar_url') !!}

@if (($user->avatar) && ($user->avatar!=''))
{!! $errors->first('image_delete', ':message') !!}
{!! $errors->first('image_delete', ':message') !!}
@endif @include ('partials.forms.edit.image-upload', ['fieldname' => 'avatar', 'image_path' => app('users_upload_path')]) @if ($snipeSettings->two_factor_enabled=='1')
@can('self.two_factor')

{{ trans('admin/settings/general.two_factor_enabled_warning') }}

@else

{{ trans('admin/settings/general.two_factor_enabled_edit_not_allowed') }}

@endcan @if (config('app.lock_passwords'))

{{ trans('general.feature_disabled') }}

@endif
@endif
@stop