@extends('layouts/default') {{-- Page title --}} @section('title') {{ trans('general.editprofile') }} @stop {{-- Account page content --}} @section('content')
{{ trans('admin/settings/general.legends.display') }}
@if (!config('app.lock_passwords')) {!! $errors->first('locale', '') !!} @else

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

@endif

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

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

@can('self.profile')
{{ trans('admin/settings/general.legends.your_details') }}
{!! $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
{!! $errors->first('phone', '') !!}
{!! $errors->first('website', '') !!}
@if (($user->avatar) && ($user->avatar!=''))
@if (!$user->isAvatarExternal()) {!! $errors->first('image_delete', ':message') !!} @endif
{!! $errors->first('image_delete', ':message') !!}
@else
{!! $errors->first('gravatar', '') !!}

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

@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
@endcan
@stop @section('moar_scripts') @stop