@if($customFields)
{!! trans('lang.main_fields') !!}
@endif
{!! Form::label('name', trans("lang.option_name"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::text('name', null, ['class' => 'form-control','placeholder'=> trans("lang.option_name_placeholder")]) !!}
{{ trans("lang.option_name_help") }}
{!! Form::label('image', trans("lang.option_image"), ['class' => 'col-3 control-label text-right']) !!}
{{ trans('lang.media_select')}}
{{ trans("lang.option_image_help") }}
@prepend('scripts') @endprepend
{!! Form::label('description', trans("lang.option_description"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::textarea('description', null, ['class' => 'form-control','placeholder'=> trans("lang.option_description_placeholder") ]) !!}
{{ trans("lang.option_description_help") }}
{!! Form::label('price', trans("lang.option_price"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::number('price', null, ['class' => 'form-control','step'=>"any",'placeholder'=> trans("lang.option_price_placeholder")]) !!}
{{ trans("lang.option_price_help") }}
{!! Form::label('product_id', trans("lang.option_product_id"),['class' => 'col-3 control-label text-right']) !!}
{!! Form::select('product_id', $product, null, ['class' => 'select2 form-control']) !!}
{{ trans("lang.option_product_id_help") }}
{!! Form::label('option_group_id', trans("lang.option_option_group_id"),['class' => 'col-3 control-label text-right']) !!}
{!! Form::select('option_group_id', $optionGroup, null, ['class' => 'select2 form-control']) !!}
{{ trans("lang.option_option_group_id_help") }}
@if($customFields)
{!! trans('lang.custom_field_plural') !!}
{!! $customFields !!}
@endif
{{trans('lang.cancel')}}