2015-07-12 16:31:15 -04:00
|
|
|
@extends('base')
|
|
|
|
|
|
|
|
@section('head')
|
2016-08-14 07:29:35 -04:00
|
|
|
<script src="{{ baseUrl('/libs/tinymce/tinymce.min.js?ver=4.3.7') }}"></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')
|
|
|
|
|
2016-03-09 17:32:07 -05:00
|
|
|
<div class="flex-fill flex">
|
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">
|
2016-05-12 18:12:05 -04:00
|
|
|
@if(!isset($isDraft))
|
|
|
|
<input type="hidden" name="_method" value="PUT">
|
|
|
|
@endif
|
2015-08-31 06:43:28 -04:00
|
|
|
@include('pages/form', ['model' => $page])
|
2016-05-15 05:39:17 -04:00
|
|
|
@include('pages/form-toolbox')
|
2015-08-31 06:43:28 -04:00
|
|
|
</form>
|
2016-05-12 18:12:05 -04:00
|
|
|
|
|
|
|
|
2015-08-31 06:43:28 -04:00
|
|
|
</div>
|
2016-03-13 09:30:47 -04:00
|
|
|
@include('partials/image-manager', ['imageType' => 'gallery', 'uploaded_to' => $page->id])
|
2015-07-14 17:34:31 -04:00
|
|
|
|
2015-07-12 16:31:15 -04:00
|
|
|
@stop
|