@extends('layouts.admin') @section('title',"Edit $tvseries->title") @section('content')

@can('tvseries.view') reply @endcan {{__('adminstaticwords.EditTvSeries')}}

{!! Form::model($tvseries, ['method' => 'PATCH', 'action' => ['TvSeriesController@update',$tvseries->id], 'files' => true]) !!}
{!! Form::label('title', __('adminstaticwords.SeriesTitle')) !!} {!! Form::text('title', null, ['class' => 'form-control']) !!} {{ $errors->first('title') }}
{!! Form::label('is_custom_label',__('Allow Custom Label ?')) !!}
{{ $errors->first('is_custom_label') }}
{!! Form::label('label_id', __('Custom Label')) !!} {{ $errors->first('label_id') }}
{!! Form::label('maturity_rating', __('adminstaticwords.MaturityRating')) !!} {!! Form::select('maturity_rating', array('all age' => __('adminstaticwords.AllAge'), '13+' =>'13+', '16+' => '16+', '18+'=>'18+'), null, ['class' => 'form-control select2']) !!} {{ $errors->first('maturity_rating') }}
{!! Form::label('', __('adminstaticwords.ChooseCustomThumbnailAndPoster')) !!}
{{ $errors->first('subtitle') }}
{!! Form::label('thumbnail',__('adminstaticwords.Thumbnail')) !!} -

{{__('adminstaticwords.HelpBlockText')}}

{!! Form::file('thumbnail', ['class' => 'input-file', 'id'=>'thumbnail']) !!}

{{__('adminstaticwords.ChooseCustomThumbnail')}}

{{ $errors->first('thumbnail') }}
{!! Form::label('poster',__('adminstaticwords.Poster')) !!} -

{{__('adminstaticwords.HelpBlockText')}}

{!! Form::file('poster', ['class' => 'input-file', 'id'=>'poster']) !!}

{{__('adminstaticwords.ChooseCustomPoster')}}

{{ $errors->first('poster') }}
{!! Form::label('featured', __('adminstaticwords.Featured')) !!}
{{ $errors->first('featured') }}
{{__('adminstaticwords.WantTMDBDataAndMoreOrCustom')}}?
tmdb == 'Y' ? 'checked' : ''}}/> tmdb != 'Y' ? 'checked' : ''}}/>
{!! Form::label('genre_id', __('adminstaticwords.Genre')) !!}
add
{{ $errors->first('genre_id') }}
{!! Form::label('rating', __('adminstaticwords.Ratings')) !!} {!! Form::text('rating', null, ['class' => 'form-control']) !!} {{ $errors->first('rating') }}
{!! Form::label('detail', __('adminstaticwords.Description')) !!} {!! Form::textarea('detail', null, ['class' => 'form-control materialize-textarea', 'rows' => '5']) !!} {{ $errors->first('detail') }}
{!! Form::close() !!}
@endsection @section('custom-script') @endsection