]> BookStack Code Mirror - bookstack/blobdiff - resources/views/chapters/delete.blade.php
Updated issue template and added TinyMCE autolinking
[bookstack] / resources / views / chapters / delete.blade.php
index 094cb70585c0ec1a7da235d77826ecc76c12eaa4..bacb8dca39df45ea72f83f8d702bfbde766f8958 100644 (file)
@@ -2,22 +2,27 @@
 
 @section('content')
 
-    <div class="page-content">
-        <h1>Delete Chapter</h1>
-        <p>This will delete the chapter with the name '{{$chapter->name}}', All pages will be removed
-        and added directly to the book.</p>
-        <p class="text-neg">Are you sure you want to delete this chapter?</p>
+    <div class="faded-small toolbar">
+        <div class="container">
+            <div class="row">
+                <div class="col-sm-12 faded">
+                    @include('chapters._breadcrumbs', ['chapter' => $chapter])
+                </div>
+            </div>
+        </div>
+    </div>
+
+    <div class="container small" ng-non-bindable>
+        <h1>{{ trans('entities.chapters_delete') }}</h1>
+        <p>{{ trans('entities.chapters_delete_explain', ['chapterName' => $chapter->name]) }}</p>
+        <p class="text-neg">{{ trans('entities.chapters_delete_confirm') }}</p>
 
-        <form action="{{$chapter->getUrl()}}" method="POST">
+        <form action="{{ $chapter->getUrl() }}" method="POST">
             {!! csrf_field() !!}
             <input type="hidden" name="_method" value="DELETE">
-            <button type="submit" class="button neg">Confirm</button>
-            <a href="{{$chapter->getUrl()}}" class="button">Cancel</a>
+            <a href="{{ $chapter->getUrl() }}" class="button primary">{{ 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