a61c9c5e98
- Primarily moved and re-organised view files. - Included readme within views to document the convention. - Fixed some issues with page field select list in previous commit. - Tweaked some route names while going through. - Split some views out further. Closes #2805
26 lines
No EOL
833 B
PHP
26 lines
No EOL
833 B
PHP
@extends('layouts.base')
|
|
|
|
@section('head')
|
|
<script src="{{ url('/libs/tinymce/tinymce.min.js?ver=4.9.4') }}"></script>
|
|
@stop
|
|
|
|
@section('body-class', 'flexbox')
|
|
|
|
@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(!isset($isDraft))
|
|
<input type="hidden" name="_method" value="PUT">
|
|
@endif
|
|
@include('pages.parts.form', ['model' => $page])
|
|
@include('pages.parts.editor-toolbox')
|
|
</form>
|
|
</div>
|
|
|
|
@include('pages.parts.image-manager', ['uploaded_to' => $page->id])
|
|
@include('pages.parts.code-editor')
|
|
@include('entities.selector-popup')
|
|
@stop |