]> BookStack Code Mirror - bookstack/blobdiff - resources/views/books/edit.blade.php
Update Localization.php in Middleware with "no" tag for estimate.
[bookstack] / resources / views / books / edit.blade.php
index e67e6f459844bb24f7632cf63581ea727fe87f1c..ac11b58e201df206b3a8cc4b58d8422a16606877 100644 (file)
@@ -1,13 +1,25 @@
-@extends('base')
+@extends('simple-layout')
 
-@section('content')
+@section('body')
 
-    <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>
+    <div class="container small">
+
+        <div class="my-s">
+            @include('partials.breadcrumbs', ['crumbs' => [
+                $book,
+                $book->getUrl('/edit') => [
+                    'text' => trans('entities.books_edit'),
+                    'icon' => 'edit',
+                ]
+            ]])
+        </div>
 
+        <main class="content-wrap card">
+            <h1 class="list-heading">{{ trans('entities.books_edit') }}</h1>
+            <form action="{{ $book->getUrl() }}" method="POST" enctype="multipart/form-data">
+                <input type="hidden" name="_method" value="PUT">
+                @include('books.form', ['model' => $book, 'returnLocation' => $book->getUrl()])
+            </form>
+        </main>
+    </div>
 @stop
\ No newline at end of file