@if($customFields)
{!! trans('lang.main_fields') !!}
@endif
{!! Form::label('order', trans("lang.slide_order"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::number('order', null, ['class' => 'form-control','placeholder'=> trans("lang.slide_order_placeholder")]) !!}
{{ trans("lang.slide_order_help") }}
{!! Form::label('text', trans("lang.slide_text"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::text('text', null, ['class' => 'form-control','placeholder'=> trans("lang.slide_text_placeholder")]) !!}
{{ trans("lang.slide_text_help") }}
{!! Form::label('button', trans("lang.slide_button"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::text('button', null, ['class' => 'form-control','placeholder'=> trans("lang.slide_button_placeholder")]) !!}
{{ trans("lang.slide_button_help") }}
{!! Form::label('text_position', trans("lang.slide_text_position"),['class' => 'col-3 control-label text-right']) !!}
{!! Form::select('text_position', [ 'top_start' => trans('lang.slide_top_start'), 'top_center' => trans('lang.slide_top_center'), 'top_end' => trans('lang.slide_top_end'), 'center_start' => trans('lang.slide_center_start'), 'center' => trans('lang.slide_center'), 'center_end' => trans('lang.slide_center_end'), 'bottom_start' => trans('lang.slide_bottom_start'), 'bottom_center' => trans('lang.slide_bottom_center'), 'bottom_end' => trans('lang.slide_bottom_end'), ], null, ['class' => 'select2 form-control']) !!}
{{ trans("lang.slide_text_position_help") }}
{!! Form::label('text_color', trans("lang.slide_text_color"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::text('text_color', null, ['class' => 'form-control','placeholder'=> trans("lang.slide_text_color_placeholder"),'autocomplete' => 'off']) !!}
{{ trans("lang.slide_text_color_help") }}
{!! Form::label('button_color', trans("lang.slide_button_color"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::text('button_color', null, ['class' => 'form-control','placeholder'=> trans("lang.slide_button_color_placeholder"),'autocomplete' => 'off']) !!}
{{ trans("lang.slide_button_color_help") }}
{!! Form::label('background_color', trans("lang.slide_background_color"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::text('background_color', null, ['class' => 'form-control','placeholder'=> trans("lang.slide_background_color_placeholder"),'autocomplete' => 'off']) !!}
{{ trans("lang.slide_background_color_help") }}
{!! Form::label('indicator_color', trans("lang.slide_indicator_color"), ['class' => 'col-3 control-label text-right']) !!}
{!! Form::text('indicator_color', null, ['class' => 'form-control','placeholder'=> trans("lang.slide_indicator_color_placeholder"),'autocomplete' => 'off']) !!}
{{ trans("lang.slide_indicator_color_help") }}
{!! Form::label('image', trans("lang.slide_image"), ['class' => 'col-3 control-label text-right']) !!}
{{ trans('lang.media_select')}}
{{ trans("lang.slide_image_help") }}
@prepend('scripts') @endprepend
{!! Form::label('image_fit', trans("lang.slide_image_fit"),['class' => 'col-3 control-label text-right']) !!}
{!! Form::select('image_fit', [ 'cover' => trans('lang.slide_cover'), 'fill' => trans('lang.slide_fill'), 'contain' => trans('lang.slide_contain'), 'fit_height' => trans('lang.slide_fit_height'), 'fit_width' => trans('lang.slide_fit_width'), 'none' => trans('lang.slide_none'), 'scale_down' => trans('lang.slide_scale_down'), ], null, ['class' => 'select2 form-control']) !!}
{{ trans("lang.slide_image_fit_help") }}
{!! Form::label('food_id', trans("lang.slide_food_id"),['class' => 'col-3 control-label text-right']) !!}
{!! Form::select('food_id', $food, null, ['data-empty'=>trans("lang.slide_food_id_placeholder"),'class' => 'select2 not-required form-control']) !!}
{{ trans("lang.slide_food_id_help") }}
{!! Form::label('restaurant_id', trans("lang.slide_restaurant_id"),['data-empty'=>trans("lang.slide_restaurant_id_placeholder"),'class' => 'col-3 control-label text-right']) !!}
{!! Form::select('restaurant_id', $restaurant, null, ['class' => 'select2 not-required form-control']) !!}
{{ trans("lang.slide_restaurant_id_help") }}
{!! Form::label('enabled', trans("lang.slide_enabled"),['class' => 'col-3 control-label text-right']) !!} {!! Form::hidden('enabled', 0, ['id'=>"hidden_enabled"]) !!}
{!! Form::checkbox('enabled', 1, null) !!}
@if($customFields)
{!! trans('lang.custom_field_plural') !!}
{!! $customFields !!}
@endif
{{trans('lang.cancel')}}