| 
									
										
										
										
											2016-06-12 04:04:18 +08:00
										 |  |  | @extends('base') | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | @section('content') | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <div class="faded-small toolbar"> | 
					
						
							|  |  |  |         <div class="container"> | 
					
						
							|  |  |  |             <div class="row"> | 
					
						
							|  |  |  |                 <div class="col-sm-12 faded"> | 
					
						
							|  |  |  |                     <div class="breadcrumbs"> | 
					
						
							| 
									
										
										
										
											2016-08-14 19:29:35 +08:00
										 |  |  |                         <a href="{{ $book->getUrl() }}" class="text-book text-button"><i class="zmdi zmdi-book"></i>{{ $book->getShortName() }}</a> | 
					
						
							| 
									
										
										
										
											2016-06-12 04:04:18 +08:00
										 |  |  |                         @if($page->hasChapter()) | 
					
						
							|  |  |  |                             <span class="sep">»</span> | 
					
						
							|  |  |  |                             <a href="{{ $page->chapter->getUrl() }}" class="text-chapter text-button"> | 
					
						
							|  |  |  |                                 <i class="zmdi zmdi-collection-bookmark"></i> | 
					
						
							| 
									
										
										
										
											2016-08-14 19:29:35 +08:00
										 |  |  |                                 {{ $page->chapter->getShortName() }} | 
					
						
							| 
									
										
										
										
											2016-06-12 04:04:18 +08:00
										 |  |  |                             </a> | 
					
						
							|  |  |  |                         @endif | 
					
						
							|  |  |  |                         <span class="sep">»</span> | 
					
						
							| 
									
										
										
										
											2016-08-14 19:29:35 +08:00
										 |  |  |                         <a href="{{ $page->getUrl() }}" class="text-page text-button"><i class="zmdi zmdi-file-text"></i>{{ $page->getShortName() }}</a> | 
					
						
							| 
									
										
										
										
											2016-06-12 04:04:18 +08:00
										 |  |  |                     </div> | 
					
						
							|  |  |  |                 </div> | 
					
						
							|  |  |  |             </div> | 
					
						
							|  |  |  |         </div> | 
					
						
							|  |  |  |     </div> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <div class="container"> | 
					
						
							|  |  |  |         <h1>Move Page <small class="subheader">{{$page->name}}</small></h1> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-08-14 19:29:35 +08:00
										 |  |  |         <form action="{{ $page->getUrl('/move') }}" method="POST"> | 
					
						
							| 
									
										
										
										
											2016-06-12 19:14:14 +08:00
										 |  |  |             {!! csrf_field() !!} | 
					
						
							|  |  |  |             <input type="hidden" name="_method" value="PUT"> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-06-25 22:31:38 +08:00
										 |  |  |             @include('partials/entity-selector', ['name' => 'entity_selection', 'selectorSize' => 'large', 'entityTypes' => 'book,chapter']) | 
					
						
							| 
									
										
										
										
											2016-06-12 19:14:14 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  |             <a href="{{ $page->getUrl() }}" class="button muted">Cancel</a> | 
					
						
							|  |  |  |             <button type="submit" class="button pos">Move Page</button> | 
					
						
							|  |  |  |         </form> | 
					
						
							| 
									
										
										
										
											2016-06-12 04:04:18 +08:00
										 |  |  |     </div> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | @stop |