mirror of
https://github.com/brunofontes/shareit.git
synced 2024-11-24 20:26:02 +00:00
14 lines
637 B
PHP
14 lines
637 B
PHP
|
<form method="POST" action="/item">
|
||
|
{{ csrf_field() }}
|
||
|
|
||
|
<div class="container-fluid">
|
||
|
<div class="form-group row mt-2">
|
||
|
<div class="col-sm-2 col-lg-1"><label for="product">Item:</label></div>
|
||
|
<div class="col-xs-12 col-sm mb-3"><input type="text" class="form-control" name="item" id="item" placeholder="One Hundred Years of Solitude" required></div>
|
||
|
<input type="hidden" name="product_id" id="product_id" value="{{ $product['id'] }}" required>
|
||
|
<div class="col-sm-2 col-lg-1 mr-4"><button type="submit" class="btn btn-primary">Insert</button></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
@include ('layouts.errors')
|
||
|
</form>
|