diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-01-28 18:58:41 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-01-28 18:59:18 +1100 |
commit | c1e532e2a3c8f5728bf0e80cde15ee0cc2ea3ab9 (patch) | |
tree | d90b30ff478a6437b262645a6bf9fbb000197739 | |
parent | 55b730af6bccf8f7b08111ba9055fd8210b3a3b1 (diff) |
Don't depend on javascript for button to do a post. More semantic
-rw-r--r-- | app/views/request/_sidebar.rhtml | 2 |
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> |