]> BookStack Code Mirror - bookstack/blobdiff - resources/views/chapters/delete.blade.php
Fixes an issue with handling of large image files.
[bookstack] / resources / views / chapters / delete.blade.php
index 094cb70585c0ec1a7da235d77826ecc76c12eaa4..062849d29f740c30532bfb097b9dcecb68286808 100644 (file)
@@ -1,23 +1,30 @@
-@extends('base')
+@extends('simple-layout')
 
-@section('content')
+@section('toolbar')
+    <div class="col-sm-12 faded">
+        @include('chapters._breadcrumbs', ['chapter' => $chapter])
+    </div>
+@stop
 
-    <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>
+@section('body')
 
-        <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>
-        </form>
-    </div>
+    <div class="container small" ng-non-bindable>
+        <p>&nbsp;</p>
+        <div class="card">
+            <h3>@icon('delete') {{ trans('entities.chapters_delete') }}</h3>
 
-@stop
+            <div class="body">
+                <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">
+                    {!! csrf_field() !!}
+                    <input type="hidden" name="_method" value="DELETE">
+                    <a href="{{ $chapter->getUrl() }}" class="button outline">{{ trans('common.cancel') }}</a>
+                    <button type="submit" class="button neg">{{ trans('common.confirm') }}</button>
+                </form>
+            </div>
+        </div>
+    </div>
 
-@section('bottom')
-    @include('pages/image-manager')
 @stop
\ No newline at end of file