@extends('layouts.admin') @section('content') @if ($errors->any())
@endif
@include('admin.posts.partials.form', ["post_type" => $editor_label])
{{-- Banner --}}
Banner
@include('admin.banners.editor', [])
{{-- Gallery --}}
Gallery
@include('admin.posts.partials.post-gallery', ["post_type" => $editor_label])
@php $view = str_singular($route)."::admin.partials.form"; @endphp @if(view()->exists($view)) @include($view) @endif
Template Editor
@include("template::partials.editor.main")
@include('admin.partials.tinyMCE') @stop