]> BookStack Code Mirror - bookstack/blob - resources/views/pages/edit.blade.php
Updated all application urls to allow path prefix.
[bookstack] / resources / views / pages / edit.blade.php
1 @extends('base')
2
3 @section('head')
4     <script src="{{ baseUrl('/libs/tinymce/tinymce.min.js?ver=4.3.7') }}"></script>
5 @stop
6
7 @section('body-class', 'flexbox')
8
9 @section('content')
10
11     <div class="flex-fill flex">
12         <form action="{{ $page->getUrl() }}" autocomplete="off" data-page-id="{{ $page->id }}" method="POST" class="flex flex-fill">
13             @if(!isset($isDraft))
14                 <input type="hidden" name="_method" value="PUT">
15             @endif
16             @include('pages/form', ['model' => $page])
17             @include('pages/form-toolbox')
18         </form>
19
20
21     </div>
22     @include('partials/image-manager', ['imageType' => 'gallery', 'uploaded_to' => $page->id])
23
24 @stop