2015-07-12 22:31:15 +02:00
|
|
|
@extends('base')
|
|
|
|
|
|
|
|
@section('head')
|
2017-05-28 14:16:21 +02:00
|
|
|
<script src="{{ baseUrl('/libs/tinymce/tinymce.min.js?ver=4.6.3') }}"></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')
|
|
|
|
|
2016-03-09 23:32:07 +01:00
|
|
|
<div class="flex-fill flex">
|
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">
|
2016-05-13 00:12:05 +02:00
|
|
|
@if(!isset($isDraft))
|
|
|
|
<input type="hidden" name="_method" value="PUT">
|
|
|
|
@endif
|
2015-08-31 12:43:28 +02:00
|
|
|
@include('pages/form', ['model' => $page])
|
2016-05-15 11:39:17 +02:00
|
|
|
@include('pages/form-toolbox')
|
2015-08-31 12:43:28 +02:00
|
|
|
</form>
|
|
|
|
</div>
|
2016-09-02 19:54:26 +02:00
|
|
|
|
2016-12-31 15:27:40 +01:00
|
|
|
@include('components.image-manager', ['imageType' => 'gallery', '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')
|
2016-08-30 21:05:59 +02:00
|
|
|
|
2015-07-12 22:31:15 +02:00
|
|
|
@stop
|