]> BookStack Code Mirror - bookstack/blobdiff - resources/views/books/edit.blade.php
Fixes #354, Adds the spellchecker option
[bookstack] / resources / views / books / edit.blade.php
index 4cf54a6f780fce3b24c53bb5dd37a2d225c3ddda..2419b68da807ab1a346293ee38ec694e67c1c25a 100644 (file)
@@ -2,25 +2,22 @@
 
 @section('content')
 
-
-    <div class="row">
-
-        <div class="col-md-3 page-menu">
-            <h4>You are editing the details for the book '{{$book->name}}'.</h4>
-            <hr>
-            @include('form/delete-button', ['url' => '/books/' . $book->id . '/destroy', 'text' => 'Delete this book'])
-        </div>
-
-        <div class="col-md-9 page-content">
-            <form action="/books/{{$book->slug}}" method="POST">
-                <input type="hidden" name="_method" value="PUT">
-                @include('books/form', ['model' => $book])
-            </form>
+    <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>
+    </div>
 
 @stop
\ No newline at end of file