2015-07-12 16:31:15 -04:00
|
|
|
@extends('base')
|
|
|
|
|
|
|
|
@section('head')
|
2016-03-13 08:04:08 -04:00
|
|
|
<script src="/libs/tinymce/tinymce.min.js?ver=4.3.7"></script>
|
2015-07-12 16:31:15 -04:00
|
|
|
@stop
|
|
|
|
|
2015-08-31 06:43:28 -04:00
|
|
|
@section('body-class', 'flexbox')
|
|
|
|
|
2015-07-12 16:31:15 -04:00
|
|
|
@section('content')
|
2015-08-31 06:43:28 -04:00
|
|
|
|
2016-03-09 17:32:07 -05:00
|
|
|
<div class="flex-fill flex">
|
2016-03-13 08:04:08 -04:00
|
|
|
<form action="{{$book->getUrl() . '/page/' . $draft->id}}" method="POST" class="flex flex-fill">
|
|
|
|
@include('pages/form', ['model' => $draft])
|
2015-08-31 06:43:28 -04:00
|
|
|
</form>
|
|
|
|
</div>
|
2016-03-13 09:30:47 -04:00
|
|
|
@include('partials/image-manager', ['imageType' => 'gallery', 'uploaded_to' => $draft->id])
|
2015-07-12 16:31:15 -04:00
|
|
|
@stop
|