@extends('layouts.master') @section('title',"Edit Livetv - $movie->title") @section('breadcum') @endsection @section('maincontent')
{{ __('Back') }}
{{__('Edit Live Tv')}}
{!! Form::model($movie, ['method' => 'PATCH', 'action' => ['LiveTvController@update',$movie->id], 'files' => true]) !!}
{!! Form::label('title', __('Live Tv Title')) !!} fetch_by == 'byID' ? "readonly=readonly" : "" }} id="mv_t" type="text" class="form-control" name="title" value="{{ $movie->title }}"> {{ $errors->first('title') }}
{!! Form::label('slug', __('Live Tv Slug')) !!} {{ $errors->first('slug') }}
{!! Form::label('maturity_rating', __('Maturity Rating')) !!} {!! Form::select('maturity_rating', array('all age' => __('All Age'), '13+' =>'13+', '16+' => '16+', '18+'=>'18+'), null, ['class' => 'form-control select2']) !!} {{ $errors->first('maturity_rating') }}
{!! Form::label('rating', __('Ratings')) !!} {!! Form::text('rating', null, ['class' => 'form-control', ]) !!} {{ $errors->first('rating') }}
{{-- select to upload or add links code ends here --}}
{!! Form::label('a_language', __('Audio Languages')) !!}
{{ $errors->first('a_language') }}
{!! Form::label('genre_id',__('Genre')) !!}
{{ $errors->first('genre_id') }}
{{-- select to upload code start from here --}}
{!! Form::label('selecturls', __('Add Video')) !!} {{ $errors->first('selecturl') }}
{{-- youtube and vimeo url --}}

{{__('Please Enter Your Video Url')}}

{!! Form::text('ready_url',$video_link['ready_url'], ['class' => 'form-control','id'=>'apiUrl']) !!} {{ $errors->first('ready_url') }}
{!! Form::label('detail', __('Description')) !!} {!! Form::textarea('detail', null, ['class' => 'form-control materialize-textarea', 'rows' => '5']) !!} {{ $errors->first('detail') }}
{!! Form::label('featured', __('Featured')) !!}
{{ $errors->first('featured') }}
{!! Form::label('livetvicon', __('Live Tv Icon Show')) !!}
{{ $errors->first('livetvicon') }}
{!! Form::label('is_protect', __('Protected Video?')) !!}
{{ $errors->first('is_protect') }}
{!! Form::label('', __('Choose Custom Thumbnail And Poster')) !!}
{{--
--}}
@if(isset($movie->thumbnail) && $movie->thumbnail != NULL) @else @endif
@if(isset($movie->poster) && $movie->poster != NULL) @else @endif
{{--
--}}
{!! Form::close() !!}
@endsection @section('script') {{-- vimeo api code --}} {{-- youtube API code --}} @endsection