shareit/resources/views/product/addProductForm.blade.php
Bruno Fontes b7002e1d05
Adding translation of product page
The news/product/*.blade.php files are translated into PTB.
2018-09-28 01:54:51 -03:00

18 lines
989 B
PHP

<form method="POST" action="/product">
{{ 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.name') }}</label></div>
<div class="col-xs-12 col-sm"><input type="text" class="form-control" name="product" id="product" placeholder="{{ __('product.book') }}" required></div>
</div>
<div class="form-group row mt-2">
<div class="col-sm-2 col-lg-1"><label for="product">{{ __('product.url') }}</label></div>
<div class="col-xs-12 col-sm"><input type="text" class="form-control" name="url" id="url" placeholder="{{ __('product.optionalUrlExample') }}"></div>
</div>
<div class="form-group row mt-2">
<div class="col-xs-0 col-sm-1 col-md-1 col-lg-1 col-xg-1"></div>
<div class="col col-xs-12"><button type="submit" class="btn btn-primary">{{ __('product.insert') }}</button></div>
</div>
</div>
@include ('layouts.errors')
</form>