@extends('ilgar.layouts.master') @section('content')
Back

Manage the Post Content

Add other Content
@csrf
@if ($errors->any()) @foreach ($errors->all() as $error)
{{ $error }}
@endforeach @endif
@if ($content->title)
{!! $content->title !!}
@endif @if ($content->image) Post Image @endif @if ($content->description)
{!! $content->description !!}
@endif
@foreach ($child_contents as $child_content)
@if ($child_content->type == 'image' && $child_content->image) Content Image @endif
@if ($child_content->type == 'text' && $child_content->description)

{!! $child_content->description !!}

@endif
@if ($child_content->type == 'link' && $child_content->youtube_video_link)
@endif
@endforeach
@endsection