aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2013-01-28 18:58:41 +1100
committerMatthew Landauer <matthew@openaustralia.org>2013-01-28 18:58:41 +1100
commit991bcdedb8e6dba6fa187906bfd191fb3f96a6f6 (patch)
tree57000506aadb97190c2c42385631c5fe914c83b4
parent04817186f63e9a55cd70133fea98c6ab5e6823bc (diff)
Don't depend on javascript for button to do a post. More semantic
-rw-r--r--app/views/request/_sidebar.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/request/_sidebar.rhtml b/app/views/request/_sidebar.rhtml
index d349bee14..5e0c6fd2d 100644
--- a/app/views/request/_sidebar.rhtml
+++ b/app/views/request/_sidebar.rhtml
@@ -25,7 +25,7 @@
<% else %>
<p><%= _('Requests for personal information and vexatious requests are not considered valid for FOI purposes (<a href="/help/about">read more</a>).') %></p>
<p><%= _('If you believe this request is not suitable, you can report it for attention by the site administrators') %></p>
- <%= link_to _("Report this request"), report_path, :class => "link_button_green", :method => "POST" %>
+ <%= button_to _("Report this request"), report_path, :class => "link_button_green" %>
<% end %>
<% end %>
<h2><%= _("Act on what you've learnt") %></h2>