aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGareth Rees <gareth@mysociety.org>2014-05-23 15:56:07 +0100
committerGareth Rees <gareth@mysociety.org>2014-05-23 15:56:07 +0100
commit9e195de68b7146bd53d7ef1d64c6b39628d140cb (patch)
tree15a6d5131a8efcc78017be6342080ff96e153344
parenta57b32aaac6cc36f0fc54eb517b90e2b694f1f40 (diff)
Fix typo on /request/upload_response
This fixes a typo which cased the following to be displayed when uploading a response: Respond to the FOI request 'FOI Request'FOI User It now says (correctly): Respond to the FOI request 'FOI Request' made by FOI User Thanks to Ben Fairless for the original implementation of this commit.
-rw-r--r--app/views/request/upload_response.html.erb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/request/upload_response.html.erb b/app/views/request/upload_response.html.erb
index f5fd6f000..f07af34d5 100644
--- a/app/views/request/upload_response.html.erb
+++ b/app/views/request/upload_response.html.erb
@@ -9,7 +9,9 @@
<%= foi_error_messages_for :comment %>
- <h1><%= _('Respond to the FOI request')%> '<%=request_link(@info_request)%>'<% _(' made by ')%><%=user_link(@info_request.user) %></h1>
+ <h1><%= _("Respond to the FOI request '{{request}}' made by {{user}}",
+ :request => request_link(@info_request),
+ :user => user_link(@info_request.user)) %></h1>
<p>
<%= raw(_('Your response will <strong>appear on the Internet</strong>, <a href="{{url}}">read why</a> and answers to other questions.', :url => help_officers_path.html_safe)) %>
@@ -48,5 +50,3 @@
</p>
<% end %>
<% end %>
-
-