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">
|
|
|
|
|
2022-03-26 17:36:05 -04:00
|
|
|
@include('settings.parts.navbar', ['selected' => 'maintenance'])
|
2020-11-02 17:47:48 -05:00
|
|
|
|
|
|
|
<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
|