]> BookStack Code Mirror - bookstack/blob - resources/views/chapters/delete.blade.php
Finished migrated from icon-font to SVG
[bookstack] / resources / views / chapters / delete.blade.php
1 @extends('simple-layout')
2
3 @section('toolbar')
4     <div class="col-sm-12 faded">
5         @include('chapters._breadcrumbs', ['chapter' => $chapter])
6     </div>
7 @stop
8
9 @section('body')
10
11     <div class="container small" ng-non-bindable>
12         <p>&nbsp;</p>
13         <div class="card">
14             <h3>@icon('delete') {{ trans('entities.chapters_delete') }}</h3>
15
16             <div class="body">
17                 <p>{{ trans('entities.chapters_delete_explain', ['chapterName' => $chapter->name]) }}</p>
18                 <p class="text-neg">{{ trans('entities.chapters_delete_confirm') }}</p>
19
20                 <form action="{{ $chapter->getUrl() }}" method="POST">
21                     {!! csrf_field() !!}
22                     <input type="hidden" name="_method" value="DELETE">
23                     <a href="{{ $chapter->getUrl() }}" class="button outline">{{ trans('common.cancel') }}</a>
24                     <button type="submit" class="button neg">{{ trans('common.confirm') }}</button>
25                 </form>
26             </div>
27         </div>
28     </div>
29
30 @stop