@if($customFields)
{!! trans('lang.main_fields') !!}
@endif
{!! Form::label('name', trans("lang.extra_name"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::text('name', null, ['class' => 'form-control','placeholder'=> trans("lang.extra_name_placeholder")]) !!}
{{ trans("lang.extra_name_help") }}
{!! Form::label('image', trans("lang.extra_image"), ['class' => 'col-3 control-label text-right']) !!}
{{ trans('lang.media_select')}}
{{ trans("lang.extra_image_help") }}
@prepend('scripts') @endprepend
{!! Form::label('description', trans("lang.extra_description"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::textarea('description', null, ['class' => 'form-control','placeholder'=> trans("lang.extra_description_placeholder") ]) !!}
{{ trans("lang.extra_description_help") }}
{!! Form::label('price', trans("lang.extra_price"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::number('price', null, ['class' => 'form-control','step'=>"any",'placeholder'=> trans("lang.extra_price_placeholder")]) !!}
{{ trans("lang.extra_price_help") }}
{!! Form::label('food_id', trans("lang.extra_food_id"),['class' => 'col-3 control-label text-right']) !!}
{!! Form::select('food_id', $food, null, ['class' => 'select2 form-control']) !!}
{{ trans("lang.extra_food_id_help") }}
{!! Form::label('extra_group_id', trans("lang.extra_extra_group_id"),['class' => 'col-3 control-label text-right']) !!}
{!! Form::select('extra_group_id', $extraGroup, null, ['class' => 'select2 form-control']) !!}
{{ trans("lang.extra_extra_group_id_help") }}
@if($customFields)
{!! trans('lang.custom_field_plural') !!}
{!! $customFields !!}
@endif
{{trans('lang.cancel')}}