15 lines
480 B
PHP
15 lines
480 B
PHP
<tr>
|
|
<td>{{ $location->room_code }}</td>
|
|
<td>{{ $location->timestamp_located_since }}</td>
|
|
@can('admin-only')
|
|
<td>
|
|
<button><a href="locations/{{ $location->location_transaction_id }}/edit">Edit</a></button>
|
|
<form method="POST" action="locations/{{ $location->location_transaction_id }}">
|
|
@method('DELETE')
|
|
@csrf
|
|
<button>Delete</button>
|
|
</form>
|
|
</td>
|
|
@endcan
|
|
</tr>
|