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