2021-08-22 20:15:58 +08:00
|
|
|
@extends('layouts.base')
|
2015-07-13 04:31:15 +08:00
|
|
|
|
2022-07-24 01:29:04 +08:00
|
|
|
@push('body-class', 'flexbox ')
|
2015-08-31 18:43:28 +08:00
|
|
|
|
2015-07-13 04:31:15 +08:00
|
|
|
@section('content')
|
|
|
|
|
2021-06-16 03:58:45 +08:00
|
|
|
<div id="main-content" class="flex-fill flex fill-height">
|
2016-08-14 19:29:35 +08:00
|
|
|
<form action="{{ $page->getUrl() }}" autocomplete="off" data-page-id="{{ $page->id }}" method="POST" class="flex flex-fill">
|
2019-07-06 21:52:25 +08:00
|
|
|
{{ csrf_field() }}
|
|
|
|
|
2022-04-19 00:39:28 +08:00
|
|
|
@if(!$isDraft) {{ method_field('PUT') }} @endif
|
2021-08-22 20:15:58 +08:00
|
|
|
@include('pages.parts.form', ['model' => $page])
|
|
|
|
@include('pages.parts.editor-toolbox')
|
2015-08-31 18:43:28 +08:00
|
|
|
</form>
|
|
|
|
</div>
|
2016-09-03 01:54:26 +08:00
|
|
|
|
2021-08-22 20:15:58 +08:00
|
|
|
@include('pages.parts.image-manager', ['uploaded_to' => $page->id])
|
|
|
|
@include('pages.parts.code-editor')
|
|
|
|
@include('entities.selector-popup')
|
2015-07-13 04:31:15 +08:00
|
|
|
@stop
|