]> 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 f378dd67dc7aabb1f91a167b5eda0528edf40ade..e67e6f459844bb24f7632cf63581ea727fe87f1c 100644 (file)
@@ -2,9 +2,9 @@
 
 @section('content')
 
-    <div class="page-content">
+    <div class="container small" ng-non-bindable>
         <h1>Edit Book</h1>
-        <form action="/books/{{$book->slug}}" method="POST">
+        <form action="{{ $book->getUrl() }}" method="POST">
             <input type="hidden" name="_method" value="PUT">
             @include('books/form', ['model' => $book])
         </form>