1 @extends('simple-layout')
4 <div class="container small">
7 @include('settings.navbar', ['selected' => 'maintenance'])
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">
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>
19 @if($deletion->deletable instanceof \BookStack\Entities\Models\Entity)
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>
25 @include('settings.recycle-bin.deletable-entity-list', ['entity' => $deletion->deletable])