add new frontend
This commit is contained in:
@ -1,14 +1,14 @@
|
||||
<div>
|
||||
<ul>
|
||||
<li>room_code: {{ $location->room_code }}</li>
|
||||
<li>timestamp_located_since: {{ $location->timestamp_located_since }}</li>
|
||||
</ul>
|
||||
<tr>
|
||||
<td>{{ $location->room_code }}</td>
|
||||
<td>{{ $location->timestamp_located_since }}</td>
|
||||
@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>
|
||||
<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
|
||||
</div>
|
||||
</tr>
|
||||
|
Reference in New Issue
Block a user