@extends('layouts.master') @section('title',__('Edit')." "." - $liveevent->title") @section('breadcum') @endsection @section('maincontent')
{{ __('Back') }}
{{__('Edit Live Event')}}
{!! Form::model($liveevent, ['method' => 'PATCH', 'action' => ['LiveEventController@update',$liveevent->id], 'files' => true]) !!}
{!! Form::label('title', __('EventTitle')) !!} {{ $errors->first('title') }}
{!! Form::label('start_time',__('Event Start Time')) !!} {{ $errors->first('start_time') }}
{!! Form::label('end_time', __('Event End Time')) !!} {{ $errors->first('end_time') }}
{!! Form::label('organized_by', __('Event Organize dBy')) !!} {!! Form::text('organized_by', $liveevent->organized_by, ['class' => 'form-control', ]) !!} {{ $errors->first('organized_by') }}
{{-- select to upload code start from here --}}
{!! Form::label('selecturls',__('Add Video')) !!} {{ $errors->first('selecturl') }}
{{-- custom /M3U8 --}}
{!! Form::text('ready_url',$liveevent['ready_url'], ['class' => 'form-control','id'=>'apiUrl']) !!} {{ $errors->first('ready_url') }}
{!! Form::label('description',__('Description')) !!} {!! Form::textarea('description', null, ['class' => 'form-control materialize-textarea', 'rows' => '5']) !!} {{ $errors->first('description') }}
{!! Form::label('', 'Choose custom thumbnail & poster') !!}
{{--
--}}
@if(isset($liveevent->thumbnail) && $liveevent->thumbnail != NULL) @else @endif
@if(isset($liveevent->poster) && $liveevent->poster != NULL) @else @endif
{{--
--}}
{!! Form::label('status',__('Status')) !!}
{{ $errors->first('status') }}
{{--
{!! Form::label('slug', 'Movie Slug') !!} {{ $errors->first('slug') }}
--}}
{!! Form::close() !!}
@endsection @section('script') @endsection