mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-12 21:43:48 +08:00
2081a783f3
Cleaned up and updated page picker a bit, allowing longer names to show, clicking through to item without triggering popup, and updated to use hidden attributes instead of styles. Added phpunit tests to cover supporting entity-selector-templates endpoint.
19 lines
618 B
PHP
19 lines
618 B
PHP
@extends('layouts.base')
|
|
|
|
@push('body-class', 'flexbox ')
|
|
|
|
@section('content')
|
|
|
|
<div id="main-content" class="flex-fill flex height-fill">
|
|
<form action="{{ $page->getUrl() }}" autocomplete="off" data-page-id="{{ $page->id }}" method="POST" class="flex flex-fill">
|
|
{{ csrf_field() }}
|
|
|
|
@if(!$isDraft) {{ method_field('PUT') }} @endif
|
|
@include('pages.parts.form', ['model' => $page])
|
|
</form>
|
|
</div>
|
|
|
|
@include('pages.parts.image-manager', ['uploaded_to' => $page->id])
|
|
@include('pages.parts.code-editor')
|
|
@include('entities.selector-popup')
|
|
@stop |