@extends('layouts.master') @section('title',__('Edit Slider')) @section('breadcum') @endsection @section('maincontent')
@if ($errors->any()) @endif
{{ __('Back') }}
{{__('Edit Slider')}}
{!! Form::model($home_slide, ['method' => 'PATCH', 'action' => ['HomeSliderController@update', $home_slide->id], 'files' => true]) !!}
{{__('App Slide For')}}
{!! Form::checkbox('', 1, (isset($movie_dtl) ? 1 : 0), ['class' => 'bootswitch', 'id' => 'TheCheckBox', "data-on-text"=>"Movies", "data-off-text"=>"Tv Series", "data-size"=>"small",]) !!}
{{ $errors->first('prime_main_slider') }}
{!! Form::label('movie_id', __('Select App Slide For Movie')) !!} @if(isset($movie_dtl)) {!! Form::select('movie_id', [$movie_dtl->id => $movie_dtl->title] + $movie_list, null, ['class' => 'form-control select2', 'placeholder' => '']) !!} @else {!! Form::select('movie_id', $movie_list, null, ['class' => 'form-control select2', 'placeholder' => '']) !!} @endif {{ $errors->first('movie_id') }}
{!! Form::label('tv_series_id', __('Select App Slide For Tv Show')) !!} @if(isset($tv_series_dtl)) {!! Form::select('tv_series_id', [$tv_series_dtl->id => $tv_series_dtl->title] + $tv_series_list, null, ['class' => 'form-control select2', 'placeholder' => '']) !!} @else {!! Form::select('tv_series_id', $tv_series_list, null, ['class' => 'form-control select2', 'placeholder' => '']) !!} @endif {{ $errors->first('tv_series_id') }}
{!! Form::label('slide_image', __('App Slide Image')) !!} {!! Form::file('slide_image', ['class' => 'input-file', 'id'=>'slide_image']) !!}

{{__('Choose App Slide Image')}}

{{ $errors->first('slide_image') }}
@if($button->kids_mode==1)
{!! Form::label('is_kids', __('Only for kids ?')) !!}
{{ $errors->first('is_kids') }}
@endif
{!! Form::label('active', __('Active')) !!}
{{ $errors->first('series') }}
{!! Form::close() !!}
@endsection @section('script') @endsection