shareit/resources/views/home/unusedItem.blade.php

5 lines
200 B
PHP

<form action="/take" method="POST">
{{ csrf_field() }}
<input type="hidden" name="item" value="{{$item->id}}">
<button type="submit" class="btn btn-sm btn-success">Take It</button>
</form>