]> BookStack Code Mirror - bookstack/blob - resources/views/settings/recycle-bin/destroy.blade.php
respective book and chapter structure added.
[bookstack] / resources / views / settings / recycle-bin / destroy.blade.php
1 @extends('layouts.simple')
2
3 @section('body')
4     <div class="container small">
5
6         @include('settings.parts.navbar', ['selected' => 'maintenance'])
7
8         <div class="card content-wrap auto-height">
9             <h2 class="list-heading">{{ trans('settings.recycle_bin_permanently_delete') }}</h2>
10             <p class="text-muted">{{ trans('settings.recycle_bin_destroy_confirm') }}</p>
11             <form action="{{ url('/settings/recycle-bin/' . $deletion->id) }}" method="post">
12                 {!! method_field('DELETE') !!}
13                 {!! csrf_field() !!}
14                 <a href="{{ url('/settings/recycle-bin') }}" class="button outline">{{ trans('common.cancel') }}</a>
15                 <button type="submit" class="button">{{ trans('common.delete_confirm') }}</button>
16             </form>
17
18             @if($deletion->deletable instanceof \BookStack\Entities\Models\Entity)
19                 <hr class="mt-m">
20                 <h5>{{ trans('settings.recycle_bin_destroy_list') }}</h5>
21                 @include('settings.recycle-bin.parts.deletable-entity-list', ['entity' => $deletion->deletable])
22             @endif
23
24         </div>
25
26     </div>
27 @stop