X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/1dbc3588cf11c12fde3da0ca4cb951c55ce810d9..refs/pull/5312/head:/resources/views/books/create.blade.php diff --git a/resources/views/books/create.blade.php b/resources/views/books/create.blade.php index 6253a49bb..318abfcf1 100644 --- a/resources/views/books/create.blade.php +++ b/resources/views/books/create.blade.php @@ -27,10 +27,9 @@

{{ trans('entities.books_create') }}

-
+ @include('books.parts.form', [ - 'templates' => $templates, - 'returnLocation' => isset($bookshelf) ? $bookshelf->getUrl() : url('/http/source.bookstackapp.com/books') + 'returnLocation' => $bookshelf?->getUrl() ?? url('/http/source.bookstackapp.com/books') ])