]> BookStack Code Mirror - bookstack/blobdiff - resources/views/books/edit.blade.php
Fixes typo causing the message not to be displayed
[bookstack] / resources / views / books / edit.blade.php
index 315057f85d7c9ae8406fc48aef3dd3845acf380d..2419b68da807ab1a346293ee38ec694e67c1c25a 100644 (file)
@@ -2,18 +2,22 @@
 
 @section('content')
 
-    <div class="page-content">
-        <h1>Edit Book</h1>
-        <form action="/books/{{$book->slug}}" method="POST">
+    <div class="faded-small toolbar">
+        <div class="container">
+            <div class="row">
+                <div class="col-sm-12 faded">
+                    @include('books._breadcrumbs', ['book' => $book])
+                </div>
+            </div>
+        </div>
+    </div>
+
+    <div class="container small" ng-non-bindable>
+        <h1>{{ trans('entities.books_edit') }}</h1>
+        <form action="{{ $book->getUrl() }}" method="POST">
             <input type="hidden" name="_method" value="PUT">
             @include('books/form', ['model' => $book])
         </form>
-        <hr class="margin-top large">
-        <div class="margin-top large shaded padded">
-            <h2 class="margin-top">Delete this book</h2>
-            <p>This will delete this book and all it's pages.</p>
-            @include('form/delete-button', ['url' => '/books/' . $book->id . '/destroy', 'text' => 'Delete'])
-        </div>
     </div>
 
 @stop
\ No newline at end of file