]> BookStack Code Mirror - bookstack/blobdiff - resources/views/chapters/edit.blade.php
System CLI: Updated to 126de5599c state
[bookstack] / resources / views / chapters / edit.blade.php
index 65c48c18d77aba368a7af0872ad273d672e764a2..36058eff83bb090428133cb1a13744f5e6fa7646 100644 (file)
@@ -15,7 +15,7 @@
             ]])
         </div>
 
-        <main class="content-wrap card">
+        <main class="content-wrap card auto-height">
             <h1 class="list-heading">{{ trans('entities.chapters_edit') }}</h1>
             <form action="{{  $chapter->getUrl() }}" method="POST">
                 <input type="hidden" name="_method" value="PUT">
             </form>
         </main>
 
+        @if(userCan('chapter-delete', $chapter) && userCan('book-create-all'))
+            @include('chapters.parts.convert-to-book')
+        @endif
+
     </div>
 
 @stop
\ No newline at end of file