@if($customFields)
{!! trans('lang.main_fields') !!}
@endif
{!! Form::label('name', trans("lang.food_name"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::text('name', null, ['class' => 'form-control','placeholder'=> trans("lang.food_name_placeholder")]) !!}
{{ trans("lang.food_name_help") }}
{!! Form::label('image', trans("lang.food_image"), ['class' => 'col-3 control-label text-right']) !!}
{{ trans('lang.media_select')}}
{{ trans("lang.food_image_help") }}
@prepend('scripts') @endprepend
{!! Form::label('price', trans("lang.food_price"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::number('price', null, ['class' => 'form-control','placeholder'=> trans("lang.food_price_placeholder"),'step'=>"any", 'min'=>"0"]) !!}
{{ trans("lang.food_price_help") }}
{!! Form::label('discount_price', trans("lang.food_discount_price"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::number('discount_price', null, ['class' => 'form-control','placeholder'=> trans("lang.food_discount_price_placeholder"),'step'=>"any", 'min'=>"0"]) !!}
{{ trans("lang.food_discount_price_help") }}
{!! Form::label('description', trans("lang.food_description"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::textarea('description', null, ['class' => 'form-control','placeholder'=> trans("lang.food_description_placeholder") ]) !!}
{{ trans("lang.food_description_help") }}
{!! Form::label('ingredients', trans("lang.food_ingredients"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::textarea('ingredients', null, ['class' => 'form-control','placeholder'=> trans("lang.food_ingredients_placeholder") ]) !!}
{{ trans("lang.food_ingredients_help") }}
{!! Form::label('unit', trans("lang.food_unit"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::text('unit', null, ['class' => 'form-control','placeholder'=> trans("lang.food_unit_placeholder")]) !!}
{{ trans("lang.food_unit_help") }}
{!! Form::label('package_items_count', trans("lang.food_package_items_count"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::number('package_items_count', null, ['class' => 'form-control','placeholder'=> trans("lang.food_package_items_count_placeholder"),'step'=>"any", 'min'=>"0"]) !!}
{{ trans("lang.food_package_items_count_help") }}
{!! Form::label('weight', trans("lang.food_weight"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::number('weight', null, ['class' => 'form-control','placeholder'=> trans("lang.food_weight_placeholder"),'step'=>"0.01", 'min'=>"0"]) !!}
{{ trans("lang.food_weight_help") }}
{!! Form::label('featured', trans("lang.food_featured"),['class' => 'col-3 control-label text-right']) !!}
{!! Form::label('deliverable', trans("lang.food_deliverable"),['class' => 'col-3 control-label text-right']) !!}
{!! Form::label('restaurant_id', trans("lang.food_restaurant_id"),['class' => 'col-3 control-label text-right']) !!}
{!! Form::select('restaurant_id', $restaurant, null, ['class' => 'select2 form-control']) !!}
{{ trans("lang.food_restaurant_id_help") }}
{!! Form::label('category_id', trans("lang.food_category_id"),['class' => 'col-3 control-label text-right']) !!}
{!! Form::select('category_id', $category, null, ['class' => 'select2 form-control']) !!}
{{ trans("lang.food_category_id_help") }}
@if($customFields)
{!! trans('lang.custom_field_plural') !!}
{!! $customFields !!}
@endif
{{trans('lang.cancel')}}