{!! Form::open(['url' => '/admin/sliders', 'enctype' => 'multipart/form-data']) !!}
{!! Form::label('Title') !!}
{!! Form::text('slider_title', null, ['class' => 'form-control', 'placeholder' => 'Enter slider title']) !!}
@if ($errors->has('slider_title')){!! $errors->first('slider_title') !!}@endif
{!! Form::label('URL') !!}
{!! Form::text('slider_url', null, ['class' => 'form-control', 'placeholder' => 'Enter url']) !!}
@if ($errors->has('slider_url')){!! $errors->first('slider_url') !!}@endif
{!! Form::label('Category Name') !!}
{!! Form::select('category_name',$categories, null, ['class' => 'form-control', 'placeholder' => 'Enter category name']) !!}
@if ($errors->has('category_name')){!! $errors->first('section_name') !!}@endif
{!! Form::label('Slider Position') !!}
{!! Form::select('slider_position', $slider_position, null, ['class' => 'form-control item_type_select2', 'placeholder' => 'Select slider position']) !!}
@if ($errors->has('slider_position'))
{!! $errors->first('slider_position') !!}@endif
{!! Form::label('From') !!}
{!! Form::date('from', \Carbon\Carbon::now(), ['class' => 'form-control']) !!}
{!! Form::label('To') !!}
{!! Form::date('to', \Carbon\Carbon::now(), ['class' => 'form-control']) !!}
{!! Form::label('Status') !!}
{!! Form::select('slider_is_exist', [1 => 'Active', 0 => 'Inactive'], null, ['class' => 'form-control']) !!}
{!! Form::close() !!}