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

20 lines
669 B
PHP
Raw Normal View History

@extends('layouts.base')
2015-07-13 04:31:15 +08:00
@push('body-class', 'flexbox ')
2015-08-31 18:43:28 +08:00
2015-07-13 04:31:15 +08:00
@section('content')
<div id="main-content" class="flex-fill flex fill-height">
<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])
@include('pages.parts.editor-toolbox')
2015-08-31 18:43:28 +08:00
</form>
</div>
2016-09-03 01:54:26 +08:00
@include('pages.parts.image-manager', ['uploaded_to' => $page->id])
@include('pages.parts.code-editor')
@include('entities.selector-popup')
2015-07-13 04:31:15 +08:00
@stop