]> BookStack Code Mirror - bookstack/blob - resources/views/shelves/delete.blade.php
f5a84c8ad395ae99009f195eb3a2e0c4c4fd17ac
[bookstack] / resources / views / shelves / delete.blade.php
1 @extends('simple-layout')
2
3 @section('body')
4
5     <div class="container small">
6
7         <div class="my-l">
8             @include('partials.breadcrumbs', ['crumbs' => [
9                 $shelf,
10                 $shelf->getUrl('/delete') => trans('entities.shelves_delete')
11             ]])
12         </div>
13
14         <div class="card content-wrap auto-height">
15             <h1 class="list-heading">{{ trans('entities.shelves_delete') }}</h1>
16             <p>{{ trans('entities.shelves_delete_explain', ['name' => $shelf->name]) }}</p>
17
18             <div class="grid half">
19                 <p class="text-neg">
20                     <strong>{{ trans('entities.shelves_delete_confirmation') }}</strong>
21                 </p>
22
23                 <form action="{{ $shelf->getUrl() }}" method="POST" class="text-right">
24                     {!! csrf_field() !!}
25                     <input type="hidden" name="_method" value="DELETE">
26
27                     <a href="{{ $shelf->getUrl() }}" class="button outline">{{ trans('common.cancel') }}</a>
28                     <button type="submit" class="button">{{ trans('common.confirm') }}</button>
29                 </form>
30             </div>
31
32
33         </div>
34     </div>
35
36 @stop