@if($customFields)
{!! trans('lang.main_fields') !!}
@endif
{!! Form::label('review', trans("lang.food_review_review"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::textarea('review', null, ['class' => 'form-control','placeholder'=> trans("lang.food_review_review_placeholder") ]) !!}
{{ trans("lang.food_review_review_help") }}
{!! Form::label('rate', trans("lang.food_review_rate"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::number('rate', null, ['class' => 'form-control','placeholder'=> trans("lang.food_review_rate_placeholder")]) !!}
{{ trans("lang.food_review_rate_help") }}
{!! Form::label('user_id', trans("lang.food_review_user_id"),['class' => 'col-3 control-label text-right']) !!}
{!! Form::select('user_id', $user, null, ['class' => 'select2 form-control']) !!}
{{ trans("lang.food_review_user_id_help") }}
{!! Form::label('food_id', trans("lang.food_review_food_id"),['class' => 'col-3 control-label text-right']) !!}
{!! Form::select('food_id', $food, null, ['class' => 'select2 form-control']) !!}
{{ trans("lang.food_review_food_id_help") }}
@if($customFields)
{!! trans('lang.custom_field_plural') !!}
{!! $customFields !!}
@endif
{{trans('lang.cancel')}}