@extends('common::layouts.master') @section('post-aria-expanded') aria-expanded="true" @endsection @section('post-show') show @endsection @section('post') active @endsection @section('post-active') active @endsection @section('modal') @include('gallery::image-gallery') @include('gallery::video-gallery') @endsection @section('content')
{!! Form::open(['route'=>['update-post','video',$post->id],'method' => 'post','enctype'=>'multipart/form-data']) !!}

{{ __('update_post') }}

@if(session('error'))
{{session('error')}}
@endif @if(session('success'))
{{session('success')}}
@endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

{{ __('posts_details') }}

{{ __('add_content') }}








{{ __('embadded') }}





{{-- all content --}} @php $content_count = 0; @endphp @foreach($post_contents as $page => $content) @php $page = array_keys($content); $content_count++; @endphp @include('post::contents/'.$page[0], compact('content_count', 'content')) @endforeach {{-- all content --}}

{{ __('visibility') }}

{{ __('seo_details') }}

@if($post->post_type=='video') @if(isFileExist(@$post->videoThumbnail, $result = @$post->videoThumbnail->thumbnail)) {!! $post->title !!} @else {!! $post->title !!} @endif @endif

{{ __('post_thumbnail') }}

@if(isFileExist($post->image, $result = @$post->image->thumbnail)) image @else image @endif

{{ __('article_detail') }}

{{ __('publish') }}*

post_status==0 && $post->scheduled==1) @else id="display-nothing" @endif>
{!! Form::close() !!}
@endsection @section('script') @endsection