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