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

@can('liveevent.view') reply @endcan {{__('adminstaticwords.EditLiveEvent')}}

{!! Form::model($liveevent, ['method' => 'PATCH', 'action' => ['LiveEventController@update',$liveevent->id], 'files' => true]) !!}
{!! Form::label('title', __('adminstaticwords.EventTitle')) !!} {{ $errors->first('title') }}
{{--
{!! Form::label('slug', 'Movie Slug') !!} {{ $errors->first('slug') }}
--}} {{-- select to upload code start from here --}}
{!! Form::label('selecturls',__('adminstaticwords.AddVideo')) !!} {{ $errors->first('selecturl') }}
{{-- custom /M3U8 --}}

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

{!! Form::text('ready_url',$liveevent['ready_url'], ['class' => 'form-control','id'=>'apiUrl']) !!} {{ $errors->first('ready_url') }}
{!! 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('start_time',__('adminstaticwords.EventStartTime')) !!} {{ $errors->first('start_time') }}
{!! Form::label('end_time', __('adminstaticwords.EventEndTime')) !!} {{ $errors->first('end_time') }}
{!! Form::label('organized_by', __('adminstaticwords.EventOrganizedBy')) !!} {!! Form::text('organized_by', $liveevent->organized_by, ['class' => 'form-control', ]) !!} {{ $errors->first('organized_by') }}
{!! Form::label('description',__('adminstaticwords.Description')) !!} {!! Form::textarea('description', null, ['class' => 'form-control materialize-textarea', 'rows' => '5']) !!} {{ $errors->first('description') }}
{!! Form::label('status',__('adminstaticwords.Status')) !!}
{{ $errors->first('status') }}
{!! Form::close() !!}
@endsection @section('custom-script') @endsection