@extends('layouts/default') {{-- Page title --}} @section('title') {{ trans('general.editprofile') }} @stop {{-- Account page content --}} @section('content')
{{ Form::open(['method' => 'POST', 'files' => true, 'class' => 'form-horizontal', 'autocomplete' => 'off']) }}
{!! $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') !!}
@endif @include ('partials.forms.edit.image-upload', ['fieldname' => 'avatar']) @if ($snipeSettings->two_factor_enabled=='1')
@can('self.two_factor')
@endif
{{ Form::close() }}
@stop