shareit/resources/views/product/addItemForm.blade.php

14 lines
683 B
PHP
Raw Normal View History

2018-09-16 23:43:14 +00:00
<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">{{ __('product.item') }}</label></div>
<div class="col-xs-12 col-sm mb-3"><input type="text" class="form-control" name="item" id="item" placeholder="{{ __('product.100yearsSolitude') }}" required></div>
2018-09-16 23:43:14 +00:00
<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">{{ __('product.insert') }}</button></div>
2018-09-16 23:43:14 +00:00
</div>
</div>
@include ('layouts.errors')
</form>