2021-08-22 08:15:58 -04:00
|
|
|
@extends('layouts.base')
|
2015-07-12 16:31:15 -04:00
|
|
|
|
|
|
|
@section('head')
|
2019-08-04 09:26:39 -04:00
|
|
|
<script src="{{ url('/libs/tinymce/tinymce.min.js?ver=4.9.4') }}"></script>
|
2015-07-12 16:31:15 -04:00
|
|
|
@stop
|
|
|
|
|
2015-08-31 06:43:28 -04:00
|
|
|
@section('body-class', 'flexbox')
|
|
|
|
|
2015-07-12 16:31:15 -04:00
|
|
|
@section('content')
|
|
|
|
|
2021-06-15 15:58:45 -04:00
|
|
|
<div id="main-content" class="flex-fill flex fill-height">
|
2016-08-14 07:29:35 -04:00
|
|
|
<form action="{{ $page->getUrl() }}" autocomplete="off" data-page-id="{{ $page->id }}" method="POST" class="flex flex-fill">
|
2019-07-06 09:52:25 -04:00
|
|
|
{{ csrf_field() }}
|
|
|
|
|
2016-05-12 18:12:05 -04:00
|
|
|
@if(!isset($isDraft))
|
|
|
|
<input type="hidden" name="_method" value="PUT">
|
|
|
|
@endif
|
2021-08-22 08:15:58 -04:00
|
|
|
@include('pages.parts.form', ['model' => $page])
|
|
|
|
@include('pages.parts.editor-toolbox')
|
2015-08-31 06:43:28 -04:00
|
|
|
</form>
|
|
|
|
</div>
|
2016-09-02 13:54:26 -04:00
|
|
|
|
2021-08-22 08:15:58 -04:00
|
|
|
@include('pages.parts.image-manager', ['uploaded_to' => $page->id])
|
|
|
|
@include('pages.parts.code-editor')
|
|
|
|
@include('entities.selector-popup')
|
2015-07-12 16:31:15 -04:00
|
|
|
@stop
|