aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/admin_request/edit.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin_request/edit.rhtml')
-rw-r--r--app/views/admin_request/edit.rhtml17
1 files changed, 16 insertions, 1 deletions
diff --git a/app/views/admin_request/edit.rhtml b/app/views/admin_request/edit.rhtml
index c343c2c49..e6d40337c 100644
--- a/app/views/admin_request/edit.rhtml
+++ b/app/views/admin_request/edit.rhtml
@@ -25,8 +25,10 @@
'partially_successful',
'requires_admin',
]) %>
+ </p>
- <%= submit_tag 'Save' %>
+ <p><%= submit_tag 'Save changes' %>
+ </p>
<p><strong>Note:</strong> To edit the actual request body text, click edit
next to the specific outgoing message.
@@ -34,6 +36,19 @@
<% end %>
+<hr>
+
+<% form_tag '../fully_destroy/' + @info_request.id.to_s do %>
+ <p>
+ <strong>This is permanent and irreversible!</strong> <%= submit_tag 'Destory request entirely' %>
+ <br>Use it mainly if someone posts private information, e.g. made a Data Protection request. It
+ destroys all responses and tracks as well.
+ </p>
+
+<% end %>
+
+<hr>
+
<p>
<%= link_to 'Show', '../show/' + @info_request.id.to_s %> |
<%= link_to 'List all', '../list' %>