X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/d886c6a32e633f21a38b5fc880cf14f9921404c2..refs/pull/5591/head:/resources/views/books/edit.blade.php diff --git a/resources/views/books/edit.blade.php b/resources/views/books/edit.blade.php index cb1ffc461..6efd1caea 100644 --- a/resources/views/books/edit.blade.php +++ b/resources/views/books/edit.blade.php @@ -1,24 +1,33 @@ -@extends('simple-layout') - -@section('toolbar') -
- @include('books._breadcrumbs', ['book' => $book]) -
-@stop +@extends('layouts.simple') @section('body')
-

 

-
-

@icon('edit') {{ trans('entities.books_edit') }}

-
-
- - @include('books/form', ['model' => $book]) -
-
+ +
+ @include('entities.breadcrumbs', ['crumbs' => [ + $book, + $book->getUrl('/edit') => [ + 'text' => trans('entities.books_edit'), + 'icon' => 'edit', + ] + ]])
+ +
+

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

+
+ + @include('books.parts.form', [ + 'model' => $book, + 'returnLocation' => $book->getUrl() + ]) +
+
+ + + @if(userCan('book-delete', $book) && userCan('book-create-all') && userCan('bookshelf-create-all')) + @include('books.parts.convert-to-shelf', ['book' => $book]) + @endif
-@include('components.image-manager', ['imageType' => 'cover']) @stop \ No newline at end of file