Home Content
{{ csrf_field() }}
banner_type=="0")? "checked" : "" }} value="0">Slider banner_type=="1")? "checked" : "" }} value="1">Two banner
{{--
--}}
{{ Form::close() }}
{!! Form::select('slider_banner_id[]',$banners, !empty($homecontent->slider_banner_id)?json_decode($homecontent->slider_banner_id,true):'', array('class'=>'form-control select2 select2-slider-banner', 'id'=>'slider_banner_id', 'multiple'=>'multiple')) !!}
{!! APFrmErrHelp::showErrors($errors, 'slider_banner_id') !!}
{!! Form::select('slider_banner_id2[]',$banners, !empty($homecontent->slider_banner_id2)?json_decode($homecontent->slider_banner_id2,true):'', array('class'=>'form-control select2 select2-slider-banner2', 'id'=>'slider_banner_id2', 'multiple'=>'multiple')) !!}
{!! APFrmErrHelp::showErrors($errors, 'slider_banner_id2') !!}
banner_type=="0")? "checked" : "" }} value="0">Slider banner_type=="1")? "checked" : "" }} value="1">Two banner
{!! Form::select('product1',$banners, $homecontent->product1??'', array('class'=>'form-control select2 select2-product-all','placeholder'=>'Select', 'id'=>'product1')) !!}
{!! APFrmErrHelp::showErrors($errors, 'product1') !!}
{!! Form::select('product2',$banners, $homecontent->product2??'', array('class'=>'form-control select2 select2-product-all','placeholder'=>'Select', 'id'=>'product2')) !!}
{!! APFrmErrHelp::showErrors($errors, 'product2') !!}
{!! Form::select('product3',$banners, $homecontent->product3??'', array('class'=>'form-control select2 select2-product-all','placeholder'=>'Select', 'id'=>'product3')) !!}
{!! APFrmErrHelp::showErrors($errors, 'product3') !!}
{!! Form::select('must_have_product_id[]',$products, !empty($homecontent->must_have_product_id)?json_decode($homecontent->must_have_product_id,true):'', array('class'=>'form-control select2 select2-product-all', 'id'=>'must_have_product_id', 'multiple'=>'multiple')) !!}
{!! APFrmErrHelp::showErrors($errors, 'must_have_product_id') !!}
{!! Form::select('mid_slider[]',$banners, !empty($homecontent->mid_slider)?json_decode($homecontent->mid_slider,true):'', array('class'=>'form-control select2 select2-mid-slider-banner', 'id'=>'mid_slider', 'multiple'=>'multiple')) !!}
{!! APFrmErrHelp::showErrors($errors, 'mid_slider') !!}
{!! Form::select('sales_banner1',$banners, $homecontent->sales_banner1??'', array('class'=>'form-control select2 select2-sales_banner1','placeholder'=>'Select', 'id'=>'sales_banner1')) !!}
{!! APFrmErrHelp::showErrors($errors, 'sales_banner1') !!}
{!! Form::select('sales_banner2',$banners, $homecontent->sales_banner2??'', array('class'=>'form-control select2 select2-sales_banner2','placeholder'=>'Select', 'id'=>'sales_banner2')) !!}
{!! APFrmErrHelp::showErrors($errors, 'sales_banner2') !!}
{!! Form::select('sales_banner3',$banners, $homecontent->sales_banner3??'', array('class'=>'form-control select2 select2-sales_banner3','placeholder'=>'Select', 'id'=>'sales_banner3')) !!}
{!! APFrmErrHelp::showErrors($errors, 'sales_banner3') !!}
{!! Form::select('signup',$banners, $homecontent->signup??'', array('class'=>'form-control select2 select2-product-all', 'placeholder'=>'Select','id'=>'signup')) !!}
{!! APFrmErrHelp::showErrors($errors, 'signup') !!}