@lang('auth/user.document_title_edit_profile')

@include('flash::message')

{{ $user->name }}

{!! Form::model($user,['route' => ['users/update-profile',$user->id],'method' => 'PUT','class' => 'form-horizontal','role' => 'form','id' => 'form', 'files' => true]) !!}
@lang('auth/user.entry_avatar')

 

{!! Form::hidden('avatar', old('avatar')) !!}
{!! html_entity_decode(Form::label('name', __('auth/user.entry_name') . ' *', ['class' => 'col-md-3 col-xs-12 control-label'])) !!}
{!! Form::text('name', old('name'), ['class' => 'form-control', 'placeholder' => __('auth/user.entry_name'),'required','autofocus']) !!} @if ($errors->has('name')) {{ $errors->first('name') }} @endif
{!! html_entity_decode(Form::label('email', __('auth/user.entry_email') . '', ['class' => 'col-md-3 col-xs-12 control-label'])) !!}
{!! Form::email('email', old('email'), ['class' => 'form-control', 'placeholder' => __('auth/user.entry_email'),'required','readonly']) !!} @if ($errors->has('email')) {{ $errors->first('email') }} @endif
{!! html_entity_decode(Form::label('password', __('auth/user.entry_password') . ' ', ['class' => 'col-md-3 col-xs-12 control-label'])) !!}
{!! Form::password('password', ['class' => 'form-control', 'placeholder' => __('auth/user.entry_password')]) !!} @if ($errors->has('password')) {{ $errors->first('password') }} @endif
{!! html_entity_decode(Form::label('password_confirmation', __('auth/user.entry_password_confirmation') . ' ', ['class' => 'col-md-3 col-xs-12 control-label'])) !!}
{!! Form::password('password_confirmation', ['class' => 'form-control', 'placeholder' => __('auth/user.entry_password_confirmation')]) !!} @if ($errors->has('password_confirmation')) {{ $errors->first('password_confirmation') }} @endif
{!! Form::file('file_avatar', ['class'=> 'hidden']) !!} @if ($errors->has('file_avatar')) {{ $errors->first('file_avatar') }} @endif
{!! Form::close() !!}