| 
									
										
										
										
											2021-08-22 20:15:58 +08:00
										 |  |  | @extends('layouts.base') | 
					
						
							| 
									
										
										
										
											2015-07-13 04:31:15 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | @section('head') | 
					
						
							| 
									
										
										
										
											2022-02-28 00:03:18 +08:00
										 |  |  |     <script src="{{ url('/libs/tinymce/tinymce.min.js?ver=5.10.2') }}" nonce="{{ $cspNonce }}"></script> | 
					
						
							| 
									
										
										
										
											2015-07-13 04:31:15 +08:00
										 |  |  | @stop | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-08-31 18:43:28 +08:00
										 |  |  | @section('body-class', 'flexbox') | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-13 04:31:15 +08:00
										 |  |  | @section('content') | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-06-16 03:58:45 +08:00
										 |  |  |     <div id="main-content" class="flex-fill flex fill-height"> | 
					
						
							| 
									
										
										
										
											2016-08-14 19:29:35 +08:00
										 |  |  |         <form action="{{ $page->getUrl() }}" autocomplete="off" data-page-id="{{ $page->id }}" method="POST" class="flex flex-fill"> | 
					
						
							| 
									
										
										
										
											2019-07-06 21:52:25 +08:00
										 |  |  |             {{ csrf_field() }} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-05-13 06:12:05 +08:00
										 |  |  |             @if(!isset($isDraft)) | 
					
						
							|  |  |  |                 <input type="hidden" name="_method" value="PUT"> | 
					
						
							|  |  |  |             @endif | 
					
						
							| 
									
										
										
										
											2021-08-22 20:15:58 +08:00
										 |  |  |             @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
										 |  |  |      | 
					
						
							| 
									
										
										
										
											2021-08-22 20:15:58 +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 |