Commit 20437264 authored by Nicolas Widart's avatar Nicolas Widart

Adding the users belonging to that role

parent b1c15300
......@@ -36,6 +36,18 @@
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<h3>Users with this role</h3>
<ul>
<?php foreach($role->users()->get() as $user): ?>
<li>
<a href="{{ URL::route('dashboard.user.edit', [$user->id]) }}">{{ $user->present()->fullname() }}</a>
</li>
<?php endforeach; ?>
</ul>
</div>
</div>
</div>
<div class="box-footer">
<button type="submit" class="btn btn-primary btn-flat">Update</button>
......
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