aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGareth Rees <gareth@mysociety.org>2014-05-13 15:02:48 +0100
committerGareth Rees <gareth@mysociety.org>2014-05-13 15:02:48 +0100
commit151dae15d1eb8ee660b09de564587e4bbf335a1e (patch)
treec9e0afa4f68860b8b023fd08dbec5349281b77b8
parent083c951206e7ea6621f5364be841f63afecc5ff7 (diff)
Add button styles to admin request edit page
- Danger button for permenantly destroying request - Primary button for saving changes
-rw-r--r--app/views/admin_request/edit.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/admin_request/edit.html.erb b/app/views/admin_request/edit.html.erb
index 0e9c68aea..46225ee83 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
@@ -51,7 +51,7 @@
<%= 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>