BookStack/resources/views/pages/edit.blade.php

24 lines
675 B
PHP
Raw Normal View History

2015-07-13 04:31:15 +08:00
@extends('base')
@section('head')
<script src="/libs/tinymce/tinymce.min.js?ver=4.3.7"></script>
2015-07-13 04:31:15 +08:00
@stop
2015-08-31 18:43:28 +08:00
@section('body-class', 'flexbox')
2015-07-13 04:31:15 +08:00
@section('content')
<div class="flex-fill flex">
<form action="{{$page->getUrl()}}" autocomplete="off" data-page-id="{{ $page->id }}" method="POST" class="flex flex-fill">
2016-05-13 06:12:05 +08:00
@if(!isset($isDraft))
<input type="hidden" name="_method" value="PUT">
@endif
2015-08-31 18:43:28 +08:00
@include('pages/form', ['model' => $page])
@include('pages/form-toolbox')
2015-08-31 18:43:28 +08:00
</form>
2016-05-13 06:12:05 +08:00
2015-08-31 18:43:28 +08:00
</div>
@include('partials/image-manager', ['imageType' => 'gallery', 'uploaded_to' => $page->id])
2015-07-15 05:34:31 +08:00
2015-07-13 04:31:15 +08:00
@stop