Add ability to unapprove package from GUI
This commit is contained in:
19
app/templates/packages/remove.html
Normal file
19
app/templates/packages/remove.html
Normal file
@@ -0,0 +1,19 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}
|
||||
Delete | {{ package.title }}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<form method="POST" action="" class="box box_grey ">
|
||||
<h3>Remove Package</h3>
|
||||
|
||||
<div class="box-body">
|
||||
<p>Deleting a package can be undone by the admin, but he'll be very annoyed!</p>
|
||||
|
||||
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
|
||||
<input type="submit" name="delete" value="Delete" class="btn btn-danger" />
|
||||
<input type="submit" name="unapprove" value="Unapprove" class="btn btn-warning" />
|
||||
</div>
|
||||
</form>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user