1 @extends('layouts.simple')
4 <div class="container small">
6 @include('settings.parts.navbar', ['selected' => 'maintenance'])
8 <div class="card content-wrap auto-height">
9 <h2 class="list-heading">{{ trans('settings.recycle_bin_restore') }}</h2>
10 <p class="text-muted">{{ trans('settings.recycle_bin_restore_confirm') }}</p>
11 <form action="{{ $deletion->getUrl('/restore') }}" method="post">
13 <a href="{{ url('/settings/recycle-bin') }}" class="button outline">{{ trans('common.cancel') }}</a>
14 <button type="submit" class="button">{{ trans('settings.recycle_bin_restore') }}</button>
17 @if($deletion->deletable instanceof \BookStack\Entities\Models\Entity)
19 <h5>{{ trans('settings.recycle_bin_restore_list') }}</h5>
20 <div class="flex-container-row mb-s items-center">
21 @if($deletion->deletable->getParent() && $deletion->deletable->getParent()->trashed())
22 <div class="text-neg flex">{{ trans('settings.recycle_bin_restore_deleted_parent') }}</div>
25 <div class="flex fit-content ml-m">
26 <a class="button outline" href="{{ $parentDeletion->getUrl('/restore') }}">{{ trans('settings.recycle_bin_restore_parent') }}</a>
31 @include('settings.recycle-bin.parts.deletable-entity-list', ['entity' => $deletion->deletable])