]> BookStack Code Mirror - bookstack/blob - resources/views/settings/recycle-bin/restore.blade.php
[Fix] app_footer_links_desc
[bookstack] / resources / views / settings / recycle-bin / restore.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_restore') }}</h2>
12             <p class="text-muted">{{ trans('settings.recycle_bin_restore_confirm') }}</p>
13             <form action="{{ url('/settings/recycle-bin/' . $deletion->id . '/restore') }}" method="post">
14                 {!! csrf_field() !!}
15                 <a href="{{ url('/settings/recycle-bin') }}" class="button outline">{{ trans('common.cancel') }}</a>
16                 <button type="submit" class="button">{{ trans('settings.recycle_bin_restore') }}</button>
17             </form>
18
19             @if($deletion->deletable instanceof \BookStack\Entities\Models\Entity)
20                 <hr class="mt-m">
21                 <h5>{{ trans('settings.recycle_bin_restore_list') }}</h5>
22                 @if($deletion->deletable->getParent() && $deletion->deletable->getParent()->trashed())
23                     <p class="text-neg">{{ trans('settings.recycle_bin_restore_deleted_parent') }}</p>
24                 @endif
25                 @include('settings.recycle-bin.deletable-entity-list', ['entity' => $deletion->deletable])
26             @endif
27
28         </div>
29
30     </div>
31 @stop