]> BookStack Code Mirror - bookstack/blob - resources/views/chapters/delete.blade.php
Updated all application urls to allow path prefix.
[bookstack] / resources / views / chapters / delete.blade.php
1 @extends('base')
2
3 @section('content')
4
5     <div class="container small" ng-non-bindable>
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             <a href="{{ $chapter->getUrl() }}" class="button primary">Cancel</a>
15             <button type="submit" class="button neg">Confirm</button>
16         </form>
17     </div>
18
19 @stop