]> BookStack Code Mirror - bookstack/blobdiff - resources/views/books/delete.blade.php
Fixes typo causing the message not to be displayed
[bookstack] / resources / views / books / delete.blade.php
index 30965071cefbf8792cb50c9714175d6ac6d686f8..0b1e67d4acc7dc3dbd9c52dfcedf357a2c3d2444 100644 (file)
@@ -2,21 +2,27 @@
 
 @section('content')
 
-    <div class="page-content">
-        <h1>Delete Book</h1>
-        <p>This will delete the book with the name '{{$book->name}}', All pages and chapters will be removed.</p>
-        <p class="text-neg">Are you sure you want to delete this book?</p>
+    <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_delete') }}</h1>
+        <p>{{ trans('entities.books_delete_explain', ['bookName' => $book->name]) }}</p>
+        <p class="text-neg">{{ trans('entities.books_delete_confirmation') }}</p>
 
         <form action="{{$book->getUrl()}}" method="POST">
             {!! csrf_field() !!}
             <input type="hidden" name="_method" value="DELETE">
-            <button type="submit" class="button neg">Confirm</button>
-            <a href="{{$book->getUrl()}}" class="button">Cancel</a>
+            <a href="{{$book->getUrl()}}" class="button">{{ trans('common.cancel') }}</a>
+            <button type="submit" class="button neg">{{ trans('common.confirm') }}</button>
         </form>
     </div>
 
-@stop
-
-@section('bottom')
-    @include('pages/image-manager')
 @stop
\ No newline at end of file