mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-05 07:23:59 +08:00
15c39c1976
Removes old awkward JS translations endpoint. New system still a little akward in code but not now in process. Also extracted out page editors into their own files. Closes #1258
27 lines
819 B
PHP
27 lines
819 B
PHP
@extends('base')
|
|
|
|
@section('head')
|
|
<script src="{{ baseUrl('/libs/tinymce/tinymce.min.js?ver=4.9.4') }}"></script>
|
|
@stop
|
|
|
|
@section('body-class', 'flexbox')
|
|
|
|
@section('content')
|
|
|
|
<div class="flex-fill flex">
|
|
<form action="{{ $page->getUrl() }}" autocomplete="off" data-page-id="{{ $page->id }}" method="POST" class="flex flex-fill">
|
|
{{ csrf_field() }}
|
|
|
|
@if(!isset($isDraft))
|
|
<input type="hidden" name="_method" value="PUT">
|
|
@endif
|
|
@include('pages.form', ['model' => $page])
|
|
@include('pages.form-toolbox')
|
|
</form>
|
|
</div>
|
|
|
|
@include('components.image-manager', ['imageType' => 'gallery', 'uploaded_to' => $page->id])
|
|
@include('components.code-editor')
|
|
@include('components.entity-selector-popup')
|
|
|
|
@stop |