Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Commit

Permalink
small edit
Browse files Browse the repository at this point in the history
  • Loading branch information
ctf0 committed Aug 12, 2017
1 parent 5eb3616 commit ba55f28
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/resources/views/admin/bulma/users/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,17 @@
<td>{{ $user->name }}</td>
<td>{{ $user->email }}</td>
<td>
@foreach ($user->roles->pluck('name') as $role)
<span class="tag is-medium is-info">{{ $role }}</span>
@foreach ($user->roles as $role)
<span class="tag is-medium is-info">
<a href="{{ route($crud_prefix.'.roles.edit',[$role->id]) }}" class="is-white">{{ $role->name }}</a>
</span>
@endforeach
</td>
<td>
@foreach ($user->permissions->pluck('name') as $perm)
<span class="tag is-medium is-info">{{ $perm }}</span>
@foreach ($user->permissions as $perm)
<span class="tag is-medium is-info">
<a href="{{ route($crud_prefix.'.permissions.edit',[$perm->id]) }}" class="is-white">{{ $perm->name }}</a>
</span>
@endforeach
</td>
<td>
Expand Down

0 comments on commit ba55f28

Please sign in to comment.