Commit df59f15c authored by Viral Solani's avatar Viral Solani Committed by GitHub

Merge pull request #12 from sazanrjb/user-edit-error

Error in User Management while editing any user
parents 5b3c3459 fcde4094
......@@ -120,7 +120,7 @@
@foreach($roles as $role)
<div>
<label for="role-{{$role->id}}" class="control control--radio">
<input type="radio" value="{{$role->id}}" name="assignees_roles[]" {{ is_array(old('assignees_roles')) ? (in_array($role->id, old('assignees_roles')) ? 'checked' : '') : (in_array($role->id, $user_roles) ? 'checked' : '') }} id="role-{{$role->id}}" class="get-role-for-permissions" /> &nbsp;&nbsp;{!! $role->name !!}
<input type="radio" value="{{$role->id}}" name="assignees_roles[]" {{ is_array(old('assignees_roles')) ? (in_array($role->id, old('assignees_roles')) ? 'checked' : '') : (in_array($role->id, $userRoles) ? 'checked' : '') }} id="role-{{$role->id}}" class="get-role-for-permissions" /> &nbsp;&nbsp;{!! $role->name !!}
<div class="control__indicator"></div>
<a href="#" data-role="role_{{$role->id}}" class="show-permissions small">
(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment