b80184cd93
Also fixed page create route broken in last commit
24 lines
No EOL
652 B
PHP
24 lines
No EOL
652 B
PHP
@extends('base')
|
|
|
|
@section('head')
|
|
<script src="/libs/tinymce/tinymce.min.js?ver=4.3.7"></script>
|
|
@stop
|
|
|
|
@section('body-class', 'flexbox')
|
|
|
|
@section('content')
|
|
|
|
<div class="flex-fill flex">
|
|
<form action="{{$page->getUrl()}}" data-page-id="{{ $page->id }}" method="POST" class="flex flex-fill">
|
|
@if(!isset($isDraft))
|
|
<input type="hidden" name="_method" value="PUT">
|
|
@endif
|
|
@include('pages/form', ['model' => $page])
|
|
</form>
|
|
|
|
@include('pages/form-toolbox')
|
|
|
|
</div>
|
|
@include('partials/image-manager', ['imageType' => 'gallery', 'uploaded_to' => $page->id])
|
|
|
|
@stop |