@if (count($errors) > 0)
Whoops! There were some problems with your input.
@foreach ($errors->all() as $error)
- {{ $error }}
@endforeach
@endif
{{--
{!! Form::model($user, ['method' => 'PATCH','route' => ['users.update', $user->id]]) !!}
Name:
{!! Form::text('name', null, array('placeholder' => 'Name','class' => 'form-control')) !!}
Email:
{!! Form::text('email', null, array('placeholder' => 'Email','class' => 'form-control')) !!}
Password:
{!! Form::password('password', array('placeholder' => 'Password','class' => 'form-control')) !!}
Confirm Password:
{!! Form::password('confirm-password', array('placeholder' => 'Confirm Password','class' => 'form-control')) !!}
Role:
{!! Form::select('roles[]', $roles,$userRole, array('class' => 'form-control')) !!}
--}}