Permalink
Browse files

Fixing a little bug on select roles

  • Loading branch information...
Stutz committed Apr 5, 2018
1 parent 4acf2d9 commit 863beba223e80c46c4631b342f6f99e3aaa41d7d
Showing with 1 addition and 1 deletion.
  1. +1 −1 resources/views/admin/users/edit.blade.php
@@ -50,7 +50,7 @@
<div class="row">
<div class="col-xs-12 form-group">
{!! Form::label('roles', 'Roles*', ['class' => 'control-label']) !!}
{!! Form::select('roles[]', $roles, old('roles') ? old('role') : $user->roles()->pluck('name', 'name'), ['class' => 'form-control select2', 'multiple' => 'multiple', 'required' => '']) !!}
{!! Form::select('roles[]', $roles, old('roles') ? old('roles') : $user->roles()->pluck('name', 'name'), ['class' => 'form-control select2', 'multiple' => 'multiple', 'required' => '']) !!}
<p class="help-block"></p>
@if($errors->has('roles'))
<p class="help-block">

0 comments on commit 863beba

Please sign in to comment.