1 {% extends "base.html" %}
4 Delete | {{ package.title }}
8 <form class="card mb-3" style="max-width: 40rem; margin: auto;" method="POST" action="" >
9 <h3 class="card-header">Remove {{ package.title }}</h3>
11 <div class="card-body">
13 In order to avoid data loss, you cannot permanently delete packages.
14 You can remove them from ContentDB, which will cause them to not be
15 visible to any users and they may be permanently deleted in the future.
16 The Admin can restore removed packages, if needed.
19 {% if package.approved %}
21 Unapproving a package will put it back into Work in Progress, where
22 it can be submitted for approval again.
26 <input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
28 <a class="btn btn-secondary float-right" href="{{ package.getDetailsURL() }}">Cancel</a>
30 <input type="submit" name="delete" value="Remove" class="btn btn-danger mr-2" />
32 {% if package.approved %}
33 <input type="submit" name="unapprove" value="Unapprove" class="btn btn-warning" />