add update and delete
This commit is contained in:
@ -13,4 +13,10 @@
|
||||
<li>{{ $device['image_url'] }}</li>
|
||||
</ul>
|
||||
<button><a href="{{$device->device_id}}/edit">Edit</a></button>
|
||||
|
||||
<form method="POST" action="{{$device->device_id}}">
|
||||
@method('DELETE')
|
||||
@csrf
|
||||
<button>Delete</button>
|
||||
</form>
|
||||
@endsection
|
||||
|
Reference in New Issue
Block a user