@if($customFields)
{!! trans('lang.main_fields') !!}
@endif
{!! Form::label('name', trans("lang.product_name"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::text('name', null, ['class' => 'form-control','placeholder'=> trans("lang.product_name_placeholder")]) !!}
{{ trans("lang.product_name_help") }}
{!! Form::label('image', trans("lang.product_image"), ['class' => 'col-3 control-label text-right']) !!}
{{ trans('lang.media_select')}}
{{ trans("lang.product_image_help") }}
@prepend('scripts') @endprepend
{!! Form::label('price', trans("lang.product_price"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::number('price', null, ['class' => 'form-control','placeholder'=> trans("lang.product_price_placeholder"),'step'=>"any", 'min'=>"0"]) !!}
{{ trans("lang.product_price_help") }}
{!! Form::label('discount_price', trans("lang.product_discount_price"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::number('discount_price', null, ['class' => 'form-control','placeholder'=> trans("lang.product_discount_price_placeholder"),'step'=>"any", 'min'=>"0"]) !!}
{{ trans("lang.product_discount_price_help") }}
{!! Form::label('description', trans("lang.product_description"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::textarea('description', null, ['class' => 'form-control','placeholder'=> trans("lang.product_description_placeholder") ]) !!}
{{ trans("lang.product_description_help") }}
{!! Form::label('capacity', trans("lang.product_capacity"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::number('capacity', null, ['class' => 'form-control','placeholder'=> trans("lang.product_capacity_placeholder"),'step'=>"any", 'min'=>"0"]) !!}
{{ trans("lang.product_capacity_help") }}
{!! Form::label('unit', trans("lang.product_unit"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::text('unit', null, ['class' => 'form-control','placeholder'=> trans("lang.product_unit_placeholder")]) !!}
{{ trans("lang.product_unit_help") }}
{!! Form::label('package_items_count', trans("lang.product_package_items_count"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::number('package_items_count', null, ['class' => 'form-control','placeholder'=> trans("lang.product_package_items_count_placeholder"),'step'=>"any", 'min'=>"0"]) !!}
{{ trans("lang.product_package_items_count_help") }}
{!! Form::label('market_id', trans("lang.product_market_id"),['class' => 'col-3 control-label text-right']) !!}
{!! Form::select('market_id', $market, null, ['class' => 'select2 form-control']) !!}
{{ trans("lang.product_market_id_help") }}
{!! Form::label('category_id', trans("lang.product_category_id"),['class' => 'col-3 control-label text-right']) !!}
{!! Form::select('category_id', $category, null, ['class' => 'select2 form-control']) !!}
{{ trans("lang.product_category_id_help") }}
{!! Form::label('featured', trans("lang.product_featured"),['class' => 'col-3 control-label text-right']) !!}
{!! Form::label('deliverable', trans("lang.product_deliverable"),['class' => 'col-3 control-label text-right']) !!}
@if($customFields)
{!! trans('lang.custom_field_plural') !!}
{!! $customFields !!}
@endif
{{trans('lang.cancel')}}