]> BookStack Code Mirror - bookstack/blob - resources/views/chapters/delete.blade.php
094cb70585c0ec1a7da235d77826ecc76c12eaa4
[bookstack] / resources / views / chapters / delete.blade.php
1 @extends('base')
2
3 @section('content')
4
5     <div class="page-content">
6         <h1>Delete Chapter</h1>
7         <p>This will delete the chapter with the name '{{$chapter->name}}', All pages will be removed
8         and added directly to the book.</p>
9         <p class="text-neg">Are you sure you want to delete this chapter?</p>
10
11         <form action="{{$chapter->getUrl()}}" method="POST">
12             {!! csrf_field() !!}
13             <input type="hidden" name="_method" value="DELETE">
14             <button type="submit" class="button neg">Confirm</button>
15             <a href="{{$chapter->getUrl()}}" class="button">Cancel</a>
16         </form>
17     </div>
18
19 @stop
20
21 @section('bottom')
22     @include('pages/image-manager')
23 @stop