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

25 lines
787 B
PHP
Raw Normal View History

2015-07-12 22:31:15 +02:00
@extends('base')
@section('head')
2017-09-20 21:26:34 +02:00
<script src="{{ baseUrl('/libs/tinymce/tinymce.min.js?ver=4.6.6') }}"></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')
<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 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])
@include('pages/form-toolbox')
2015-08-31 12:43:28 +02:00
</form>
</div>
2016-09-02 19:54:26 +02:00
@include('components.image-manager', ['imageType' => 'gallery', 'uploaded_to' => $page->id])
@include('components.code-editor')
@include('components.entity-selector-popup')
2015-07-12 22:31:15 +02:00
@stop