Added Delete PRODUCT with Items and dettaching from users

This commit is contained in:
2018-09-17 00:51:41 -03:00
parent 707dd1654a
commit c38744e392
4 changed files with 21 additions and 27 deletions

View File

@@ -16,7 +16,7 @@
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<form action="/delete" method="POST">
<form action="/product" method="POST">
@method('DELETE')
{{ csrf_field() }}
<input type="hidden" name="product" value="{{$product->id}}">