]> BookStack Code Mirror - bookstack/blobdiff - resources/views/books/edit.blade.php
Page Attachments - Improved UI, Now initially complete
[bookstack] / resources / views / books / edit.blade.php
index 4cf54a6f780fce3b24c53bb5dd37a2d225c3ddda..e67e6f459844bb24f7632cf63581ea727fe87f1c 100644 (file)
@@ -2,25 +2,12 @@
 
 @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>
-
+    <div class="container small" ng-non-bindable>
+        <h1>Edit Book</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