2023-04-06 12:17:42 +02:00
|
|
|
<tr>
|
|
|
|
<td>{{ $location->room_code }}</td>
|
|
|
|
<td>{{ $location->timestamp_located_since }}</td>
|
2023-03-31 17:17:09 +02:00
|
|
|
@can('admin-only')
|
2023-04-06 12:17:42 +02:00
|
|
|
<td>
|
2023-04-06 13:22:40 +02:00
|
|
|
<div class="field is-grouped">
|
|
|
|
<div class="control">
|
|
|
|
<a class="button is-small is-outlined is-info is-light" href="locations/{{ $location->location_transaction_id }}/edit">
|
|
|
|
<span class="icon is-small">
|
|
|
|
<i class="fa-solid fa-pen-to-square"></i>
|
|
|
|
</span>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<div class="control">
|
|
|
|
<form method="POST" action="locations/{{ $location->location_transaction_id }}">
|
|
|
|
@method('DELETE')
|
|
|
|
@csrf
|
|
|
|
<button class="button is-small is-outlined is-danger is-light" type="submit">
|
|
|
|
<span class="icon is-small">
|
|
|
|
<i class="fa-solid fa-trash"></i>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-04-06 12:17:42 +02:00
|
|
|
</td>
|
2023-03-31 17:17:09 +02:00
|
|
|
@endcan
|
2023-04-06 12:17:42 +02:00
|
|
|
</tr>
|