@if($customFields)
{!! trans('lang.main_fields') !!}
@endif
{!! Form::label('name', trans("lang.nutrition_name"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::text('name', null, ['class' => 'form-control','placeholder'=> trans("lang.nutrition_name_placeholder")]) !!}
{{ trans("lang.nutrition_name_help") }}
{!! Form::label('quantity', trans("lang.nutrition_quantity"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::number('quantity', null, ['class' => 'form-control','placeholder'=> trans("lang.nutrition_quantity_placeholder")]) !!}
{{ trans("lang.nutrition_quantity_help") }}
{!! Form::label('food_id', trans("lang.nutrition_food_id"),['class' => 'col-3 control-label text-right']) !!}
{!! Form::select('food_id', $food, null, ['class' => 'select2 form-control']) !!}
{{ trans("lang.nutrition_food_id_help") }}
@if($customFields)
{!! trans('lang.custom_field_plural') !!}
{!! $customFields !!}
@endif
{{trans('lang.cancel')}}