@if($customFields)
{!! trans('lang.main_fields') !!}
@endif
{!! Form::label('review', trans("lang.product_review_review"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::textarea('review', null, ['class' => 'form-control','placeholder'=> trans("lang.product_review_review_placeholder") ]) !!}
{{ trans("lang.product_review_review_help") }}
{!! Form::label('rate', trans("lang.product_review_rate"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::number('rate', null, ['class' => 'form-control','placeholder'=> trans("lang.product_review_rate_placeholder")]) !!}
{{ trans("lang.product_review_rate_help") }}
{!! Form::label('user_id', trans("lang.product_review_user_id"),['class' => 'col-3 control-label text-right']) !!}
{!! Form::select('user_id', $user, null, ['class' => 'select2 form-control']) !!}
{{ trans("lang.product_review_user_id_help") }}
{!! Form::label('product_id', trans("lang.product_review_product_id"),['class' => 'col-3 control-label text-right']) !!}
{!! Form::select('product_id', $product, null, ['class' => 'select2 form-control']) !!}
{{ trans("lang.product_review_product_id_help") }}
@if($customFields)
{!! trans('lang.custom_field_plural') !!}
{!! $customFields !!}
@endif
{{trans('lang.cancel')}}