2015-07-12 16:31:15 -04:00
|
|
|
@extends('base')
|
|
|
|
|
|
|
|
@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-01-01 20:22:41 -05:00
|
|
|
<div 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
|
2019-02-03 12:53:54 -05:00
|
|
|
@include('pages.form', ['model' => $page])
|
2019-07-07 08:45:46 -04:00
|
|
|
@include('pages.editor-toolbox')
|
2015-08-31 06:43:28 -04:00
|
|
|
</form>
|
|
|
|
</div>
|
2016-09-02 13:54:26 -04:00
|
|
|
|
2020-07-24 19:20:58 -04:00
|
|
|
@include('components.image-manager', ['uploaded_to' => $page->id])
|
2017-07-01 08:23:46 -04:00
|
|
|
@include('components.code-editor')
|
2016-12-31 09:27:40 -05:00
|
|
|
@include('components.entity-selector-popup')
|
2015-07-12 16:31:15 -04:00
|
|
|
@stop
|