@include ('errors.list')
{{ Form::model($user, array('route' => array('users.update', $user->id), 'method' => 'PUT','files'=>true,'enctype' => 'multipart/form-data')) }} {{-- Form model binding to automatically populate our fields with user data --}}
{{ Form::email('email', (isset($user->email) ? $user->email : null), array('class' => 'form-control','required'=>'')) }}
User will be able to log in using email address.
{{ Form::password('password', array('class' => 'form-control')) }}
@if(isset($user['id']))
Keep password field blank if you dont want to change password
@endif