diff options
author | rubenwardy <rw@rubenwardy.com> | 2020-01-19 20:16:03 +0000 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2020-01-19 20:16:03 +0000 |
commit | b68a1d7ab9da9e2a096d6c6c4bf9363d680db9e6 (patch) | |
tree | de64746e7d7c153a2c120b4ddde2dd13c79cd2cc | |
parent | 2ef90902aa720dfed10af6b7969d21fc8af9d982 (diff) | |
download | cheatdb-b68a1d7ab9da9e2a096d6c6c4bf9363d680db9e6.tar.xz |
Reduce chance of accidental release deletionv1.21.0
-rw-r--r-- | app/templates/packages/release_edit.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/app/templates/packages/release_edit.html b/app/templates/packages/release_edit.html index 36d41d4..a0070eb 100644 --- a/app/templates/packages/release_edit.html +++ b/app/templates/packages/release_edit.html @@ -64,10 +64,12 @@ <h2 class="mt-5">{{ _("Delete Release") }}</h2> {% if release.checkPerm(current_user, "DELETE_RELEASE") %} - <form method="POST" action="{{ release.getDeleteURL() }}" class="mb-5"> + <form method="POST" action="{{ release.getDeleteURL() }}" class="alert alert-secondary mb-5"> <input type="hidden" name="csrf_token" value="{{ csrf_token() }}" /> - <p>This is permanent.</p> - <input class="btn btn-danger" type="submit" value="Delete"> + <input class="btn btn-sm btn-danger float-right" type="submit" value="{{ _('Delete') }}"> + <b>{{ _("This is permanent.") }}</b> + {{ _("Any associated uploads will not be deleted immediately, but the release will no longer be listed.") }} + <div style="clear:both;"></div> </form> {% else %} <div class="alert alert-secondary mb-5"> |