29 lines
1.0 KiB
PHP
29 lines
1.0 KiB
PHP
<x-layout>
|
|
<div class="container">
|
|
<table class="table">
|
|
<tr>
|
|
<th>Navn</th>
|
|
<th>Rolle</th>
|
|
<th>Rediger</th>
|
|
{{-- <th>Slet</th>--}}
|
|
</tr>
|
|
@foreach($users as $user)
|
|
<tr>
|
|
<td>{{ $user->username }}</td>
|
|
<td>{{ $user->role->name }}</td>
|
|
<td>
|
|
<a href="/admin/users/{{ $user->id }}/edit"><ion-icon name="pencil-outline"></ion-icon></a>
|
|
</td>
|
|
{{-- <td>--}}
|
|
{{-- <form action="/admin/users/{{ $user->id }}/" method="post">--}}
|
|
{{-- @method('delete')--}}
|
|
{{-- @csrf--}}
|
|
{{-- <button type="submit"><ion-icon name="trash-outline"></ion-icon></button>--}}
|
|
{{-- </form>--}}
|
|
{{-- </td>--}}
|
|
</tr>
|
|
@endforeach
|
|
</table>
|
|
</div>
|
|
</x-layout>
|