| 
									
										
										
										
											2017-08-26 20:24:55 +08:00
										 |  |  | @extends('simple-layout') | 
					
						
							| 
									
										
										
										
											2015-07-13 03:01:42 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-08-26 20:24:55 +08:00
										 |  |  | @section('body') | 
					
						
							| 
									
										
										
										
											2018-12-10 00:51:31 +08:00
										 |  |  |     <div class="container small"> | 
					
						
							| 
									
										
										
										
											2019-02-18 01:52:42 +08:00
										 |  |  |         <div class="my-s"> | 
					
						
							| 
									
										
										
										
											2019-04-15 17:56:21 +08:00
										 |  |  |             @if (isset($bookshelf)) | 
					
						
							|  |  |  |                 @include('partials.breadcrumbs', ['crumbs' => [ | 
					
						
							|  |  |  |                     $bookshelf, | 
					
						
							|  |  |  |                     $bookshelf->getUrl('/create-book') => [ | 
					
						
							|  |  |  |                         'text' => trans('entities.books_create'), | 
					
						
							|  |  |  |                         'icon' => 'add' | 
					
						
							|  |  |  |                     ] | 
					
						
							|  |  |  |                 ]]) | 
					
						
							|  |  |  |             @else | 
					
						
							|  |  |  |                 @include('partials.breadcrumbs', ['crumbs' => [ | 
					
						
							|  |  |  |                     '/books' => [ | 
					
						
							|  |  |  |                         'text' => trans('entities.books'), | 
					
						
							|  |  |  |                         'icon' => 'book' | 
					
						
							|  |  |  |                     ], | 
					
						
							|  |  |  |                     '/create-book' => [ | 
					
						
							|  |  |  |                         'text' => trans('entities.books_create'), | 
					
						
							|  |  |  |                         'icon' => 'add' | 
					
						
							|  |  |  |                     ] | 
					
						
							|  |  |  |                 ]]) | 
					
						
							|  |  |  |             @endif | 
					
						
							| 
									
										
										
										
											2018-12-10 00:51:31 +08:00
										 |  |  |         </div> | 
					
						
							| 
									
										
										
										
											2017-08-26 20:24:55 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-12-10 00:51:31 +08:00
										 |  |  |         <div class="content-wrap card"> | 
					
						
							|  |  |  |             <h1 class="list-heading">{{ trans('entities.books_create') }}</h1> | 
					
						
							| 
									
										
										
										
											2019-04-02 23:35:46 +08:00
										 |  |  |             <form action="{{ isset($bookshelf) ? $bookshelf->getUrl('/create-book') : baseUrl('/books') }}" method="POST" enctype="multipart/form-data"> | 
					
						
							| 
									
										
										
										
											2019-04-07 19:00:09 +08:00
										 |  |  |                 @include('books.form') | 
					
						
							| 
									
										
										
										
											2017-08-26 20:24:55 +08:00
										 |  |  |             </form> | 
					
						
							|  |  |  |         </div> | 
					
						
							|  |  |  |     </div> | 
					
						
							| 
									
										
										
										
											2018-12-10 00:51:31 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-13 03:01:42 +08:00
										 |  |  | @stop |