14 lines
493 B
PHP
14 lines
493 B
PHP
<div>
|
|
<ul>
|
|
<li>room_code: {{ $location->room_code }}</li>
|
|
<li>timestamp_located_since: {{ $location->timestamp_located_since }}</li>
|
|
</ul>
|
|
@can('admin-only')
|
|
<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>
|
|
@endcan
|
|
</div> |