@yield('title')
@lang('admin.edit_user_intro')
{!! Form::model($user, ['route' => ['user.update', $user->id], 'method' => 'PUT']) !!}
{!! Form::label('name', trans('forms.name_label'), ['class' => 'control-label']) !!}
{!! Form::text('name', old('name'), ['class' => 'form-control']) !!}
@if ($errors->has('name'))
{{ $errors->first('name') }}
@endif
{!! Form::label('email', trans('forms.email_label'), ['class' => 'control-label']) !!}
{!! Form::text('email', old('email'), ['class' => 'form-control']) !!}
@if ($errors->has('email'))
{{ $errors->first('email') }}
@endif
{!! Form::label('password', trans('forms.password_label'), ['class' => 'control-label']) !!}
{!! Form::password('password', ['class' => 'form-control']) !!}
@if ($errors->has('password'))
{{ $errors->first('password') }}
@endif
{!! Form::label('password_confirmation', trans('forms.password_confirm_label'), ['class' => 'control-label']) !!}
{!! Form::password('password_confirmation', ['class' => 'form-control']) !!}
@if ($errors->has('password_confirmation'))
{{ $errors->first('password_confirmation') }}
@endif
@if (!$user->is_activated)
@endif
{!! Form::close() !!}