]> BookStack Code Mirror - bookstack/blobdiff - resources/views/books/edit.blade.php
Add prev and next button to navigate through different pages
[bookstack] / resources / views / books / edit.blade.php
index caeae9175d021d8646e75cd54ae67329dbbce180..ac11b58e201df206b3a8cc4b58d8422a16606877 100644 (file)
             ]])
         </div>
 
-        <div class="content-wrap card">
+        <main class="content-wrap card">
             <h1 class="list-heading">{{ trans('entities.books_edit') }}</h1>
-            <form action="{{ $book->getUrl() }}" method="POST">
+            <form action="{{ $book->getUrl() }}" method="POST" enctype="multipart/form-data">
                 <input type="hidden" name="_method" value="PUT">
-                @include('books/form', ['model' => $book])
+                @include('books.form', ['model' => $book, 'returnLocation' => $book->getUrl()])
             </form>
-        </div>
+        </main>
     </div>
-
-    @include('components.image-manager', ['imageType' => 'cover'])
 @stop
\ No newline at end of file