@if($customFields)
{!! trans('lang.main_fields') !!}
@endif
{!! Form::label('order', trans("lang.slide_order"), ['class' => 'col-md-3 control-label text-md-right mx-1']) !!}
{!! 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-md-3 control-label text-md-right mx-1']) !!}
{!! 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-md-3 control-label text-md-right mx-1']) !!}
{!! 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-md-3 control-label text-md-right mx-1']) !!}
{!! 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-md-3 control-label text-md-right mx-1']) !!}
{!! 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-md-3 control-label text-md-right mx-1']) !!}
{!! 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-md-3 control-label text-md-right mx-1']) !!}
{!! 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-md-3 control-label text-md-right mx-1']) !!}
{!! 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-md-3 control-label text-md-right mx-1']) !!}
{{ trans('lang.media_select')}}
{{ trans("lang.slide_image_help") }}
@prepend('scripts') @endprepend
{!! Form::label('image_fit', trans("lang.slide_image_fit"),['class' => 'col-md-3 control-label text-md-right mx-1']) !!}
{!! 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('e_service_id', trans("lang.slide_e_service_id"),['class' => 'col-md-3 control-label text-md-right mx-1']) !!}
{!! Form::select('e_service_id', $eService, null, ['data-empty'=>trans("lang.slide_e_service_id_placeholder"), 'class' => 'select2 not-required form-control']) !!}
{{ trans("lang.slide_e_service_id_help") }}
{!! Form::label('salon_id', trans("lang.slide_salon_id"),['class' => 'col-md-3 control-label text-md-right mx-1']) !!}
{!! Form::select('salon_id', $salon, null, ['data-empty'=>trans("lang.slide_salon_id_placeholder"), 'class' => 'select2 not-required form-control']) !!}
{{ trans("lang.slide_salon_id_help") }}
@if($customFields)
{!! trans('lang.custom_field_plural') !!}
{!! $customFields !!}
@endif
{!! Form::label('enabled', trans("lang.slide_enabled"),['class' => 'control-label my-0 mx-3']) !!} {!! Form::hidden('enabled', 0, ['id'=>"hidden_enabled"]) !!} {!! Form::checkbox('enabled', 1, null) !!}
{{trans('lang.cancel')}}