@extends('layouts.master') @section('title',__('Create Live Tv')) @section('breadcum') @endsection @section('maincontent')
{{ __('Back') }}
{{__('Create Live Tv')}}
{!! Form::open(['method' => 'POST', 'action' => 'LiveTvController@store', 'files' => true]) !!}
{!! Form::label('title',__('Live Tv Title')) !!} {!! Form::text('title', old('title'), ['class' => 'form-control', 'placeholder' => __('Enter Livetv Title')]) !!} {{ $errors->first('title') }}
{!! Form::label('slug', __('Live Tv Slug')) !!} {!! Form::text('slug', old('slug'), ['class' => 'form-control', 'placeholder' => 'Please enter livetv 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', old('rating'), ['class' => 'form-control', ]) !!} {{ $errors->first('rating') }}
{!! Form::label('a_language', __('Audio Languages')) !!}
{!! Form::select('a_language[]', $a_lans, null, ['class' => 'form-control select2', 'multiple']) !!}
{{ $errors->first('a_language') }}
{!! Form::label('genre_id', __('Genre')) !!}
{!! Form::select('genre_id[]', $genre_ls, null, ['class' => 'form-control select2', 'multiple']) !!}
{{ $errors->first('genre_id') }}
{{-- select to upload code start from here --}}
{!! Form::label('selecturls',__('Add Video')) !!} {!! Form::select('selecturl', array('iframeurl' => __('IFrame URL'), 'customurl' => __('Custom URL Youtube URL Vimeo URL')), null, ['class' => 'form-control select2','id'=>'selecturl']) !!} {{ $errors->first('selecturl') }}
{{-- youtube and vimeo url --}}
{!! Form::label('detail', __('Description')) !!} {!! Form::textarea('detail', old('detail'), ['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')) !!}
{{--
--}}
{{--
--}}
{!! Form::close() !!}
@endsection @section('script') @endsection