X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/8da856bac3f7d76dcefbb097dd93bd6409c6ccc9..refs/pull/5591/head:/resources/views/chapters/edit.blade.php diff --git a/resources/views/chapters/edit.blade.php b/resources/views/chapters/edit.blade.php index f6fd3cc6b..36058eff8 100644 --- a/resources/views/chapters/edit.blade.php +++ b/resources/views/chapters/edit.blade.php @@ -23,35 +23,9 @@ -{{-- TODO - Permissions--}} -
-

Convert to Book

-
-

- You can convert this chapter to a new book with the same contents. - Any permissions set on this chapter will be copied to the new book but any inherited permissions, - from the parent book, will not be copied which could lead to a change of access control. -

-
- -
-
-
+ @if(userCan('chapter-delete', $chapter) && userCan('book-create-all')) + @include('chapters.parts.convert-to-book') + @endif