mirror of
https://github.com/brunofontes/shareit.git
synced 2024-11-24 04:14:57 +00:00
Bruno Fontes
882609fed0
Now it shows the username of who is using an item. Item db field 'usedBy' was renamed to 'used_by' to keep consistence.
7 lines
256 B
PHP
7 lines
256 B
PHP
<span class="float-right">
|
|
<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>
|
|
</span> |