@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 --}}
@include('image::partials.input-multiple', ["gallery_name" => 'Gallery', 'input_name' => 'gallery', 'images' => old('gallery', $post->gallery->images ?? null)])
@php $view = \Illuminate\Support\Str::singular($route)."::admin.partials.form"; @endphp @if(view()->exists($view)) @include($view) @endif
Template Editor
@include("template::partials.editor.main")
@stop