@include('admin.sidebar')
Edit Blog Post
Dashboard > Blogs > Edit Blog Post
@if($unreadEnquiriesCount > 0) {{ $unreadEnquiriesCount }} @endif
@csrf
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

Blog Content (Already Added Above)

Choose Photo
@if($post->cover_image) Current cover photo exists @endif

Top Advantages Section

@if(!empty($post->advantages)) @foreach($post->advantages as $adv)
@endforeach @endif

Popular Courses Section

@if(!empty($post->popular_courses)) @foreach($post->popular_courses as $course)
@endforeach @endif

Cost of Studying Table

@if(!empty($post->cost_of_studying)) @foreach($post->cost_of_studying as $row)
@endforeach @endif

Additional Custom Sections

@if(!empty($post->custom_sections)) @foreach($post->custom_sections as $sec)
@endforeach @endif

Conclusion Section

@include('admin.seo_settings', ['post' => $post])