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