diff options
| author | rubenwardy <rw@rubenwardy.com> | 2018-05-25 18:28:24 +0100 |
|---|---|---|
| committer | rubenwardy <rw@rubenwardy.com> | 2018-05-25 18:28:24 +0100 |
| commit | 8cf5c7204f0ebb787eafb9ffa04c9e61a8d6d3af (patch) | |
| tree | 5ef4e040ed428a48319c325d93927508624c99c3 /app/templates/packages/delete.html | |
| parent | f93394df753b7e2181f2a3eb3c1f3d45835ccc63 (diff) | |
| download | cheatdb-8cf5c7204f0ebb787eafb9ffa04c9e61a8d6d3af.tar.xz | |
Add package soft deletion
Diffstat (limited to 'app/templates/packages/delete.html')
| -rw-r--r-- | app/templates/packages/delete.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/app/templates/packages/delete.html b/app/templates/packages/delete.html new file mode 100644 index 0000000..95709c3 --- /dev/null +++ b/app/templates/packages/delete.html @@ -0,0 +1,18 @@ +{% extends "base.html" %} + +{% block title %} + Delete | {{ package.title }} +{% endblock %} + +{% block content %} + <form method="POST" action="" class="box box_grey "> + <h3>Delete Package</h3> + + <div class="box-body"> + <p>This action 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" value="Delete" class="button-danger" /> + </div> + </form> +{% endblock %} |
