Add ability for admin to hard delete packages

This commit is contained in:
rubenwardy
2020-12-10 11:25:52 +00:00
parent e175e489e8
commit 7088ffd321
3 changed files with 37 additions and 5 deletions

View File

@@ -59,6 +59,17 @@
<input type="submit" value="Restore" class="col-sm-auto btn btn-primary ml-2" />
</div>
</form>
<form method="post" action="" class="card-body">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
<input type="hidden" name="action" value="delremovedpackages" />
<p>
{{ _("Deletion is permanent.") }}
</p>
<input type="submit" value="Delete Removed Packages" class="btn btn-danger" />
</form>
</div>
</div>
</div>