diff options
author | Gareth Rees <gareth@mysociety.org> | 2014-06-02 11:02:48 +0100 |
---|---|---|
committer | Gareth Rees <gareth@mysociety.org> | 2014-06-02 11:02:48 +0100 |
commit | 63fc6e9de5edd0040373d4f82d3f0b3eb5d41674 (patch) | |
tree | 619c3857684f3d4fb8266ba79d0a9f1fe49cd085 | |
parent | 77b33db54348210a60a1df0670f3d94d30639c03 (diff) | |
parent | 74525e6f5a436b78d9c17f2ef1c15ad13ae648ad (diff) |
Merge branch 'admin-edit-page-buttons' into rails-3-develop
-rw-r--r-- | app/views/admin_request/edit.html.erb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/app/views/admin_request/edit.html.erb b/app/views/admin_request/edit.html.erb index 0e9c68aea..552b31bbb 100644 --- a/app/views/admin_request/edit.html.erb +++ b/app/views/admin_request/edit.html.erb @@ -33,7 +33,7 @@ <p><label for="info_request_tag_string"><strong>Tags</strong> <small>(space separated, can use key:value)</small></label><br/> <%= text_field 'info_request', 'tag_string', :size => 60 %></p> - <p><%= submit_tag 'Save changes', :accesskey => 's' %> + <p><%= submit_tag 'Save changes', :accesskey => 's', :class => 'btn btn-primary' %> </p> <p><strong>Note:</strong> To edit the actual request body text, click edit @@ -49,13 +49,17 @@ <hr> +<div class="well"> + <%= form_tag admin_request_destroy_path(@info_request) do %> <p> - <strong>This is permanent and irreversible!</strong> <%= submit_tag 'Destroy request entirely' %> + <strong>This is permanent and irreversible!</strong> <%= submit_tag 'Destroy request entirely', :class => 'btn btn-danger' %> <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 %> +</div> + <hr> |