2021-08-22 08:15:58 -04:00
|
|
|
@extends('layouts.simple')
|
2020-11-02 17:47:48 -05:00
|
|
|
|
|
|
|
@section('body')
|
|
|
|
<div class="container small">
|
|
|
|
|
2021-01-10 08:36:46 -05:00
|
|
|
<div class="py-m">
|
2021-08-22 08:15:58 -04:00
|
|
|
@include('settings.parts.navbar', ['selected' => 'maintenance'])
|
2020-11-02 17:47:48 -05:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="card content-wrap auto-height">
|
|
|
|
<h2 class="list-heading">{{ trans('settings.recycle_bin_permanently_delete') }}</h2>
|
|
|
|
<p class="text-muted">{{ trans('settings.recycle_bin_destroy_confirm') }}</p>
|
|
|
|
<form action="{{ url('/settings/recycle-bin/' . $deletion->id) }}" method="post">
|
|
|
|
{!! method_field('DELETE') !!}
|
|
|
|
{!! csrf_field() !!}
|
|
|
|
<a href="{{ url('/settings/recycle-bin') }}" class="button outline">{{ trans('common.cancel') }}</a>
|
|
|
|
<button type="submit" class="button">{{ trans('common.delete_confirm') }}</button>
|
|
|
|
</form>
|
|
|
|
|
2020-11-21 19:17:45 -05:00
|
|
|
@if($deletion->deletable instanceof \BookStack\Entities\Models\Entity)
|
2020-11-02 17:47:48 -05:00
|
|
|
<hr class="mt-m">
|
|
|
|
<h5>{{ trans('settings.recycle_bin_destroy_list') }}</h5>
|
2021-08-22 08:15:58 -04:00
|
|
|
@include('settings.recycle-bin.parts.deletable-entity-list', ['entity' => $deletion->deletable])
|
2020-11-02 17:47:48 -05:00
|
|
|
@endif
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
@stop
|