diff options
author | Louise Crow <louise.crow@gmail.com> | 2015-01-23 15:26:26 +0000 |
---|---|---|
committer | Gareth Rees <gareth@mysociety.org> | 2015-02-20 11:59:05 +0000 |
commit | 21e08ec4f0dc7eeca1f2f64d04d30a42b285605d (patch) | |
tree | b823852c07880852c131b953439266d8986bd644 | |
parent | 4b523d3034c578fe8bc756b7630dffa926d946fe (diff) |
Put warning in the form that you actually use to make a request.
-rw-r--r-- | app/views/public_body/show.html.erb | 6 | ||||
-rw-r--r-- | app/views/request/new.html.erb | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/app/views/public_body/show.html.erb b/app/views/public_body/show.html.erb index ac8f3a34e..a2f202735 100644 --- a/app/views/public_body/show.html.erb +++ b/app/views/public_body/show.html.erb @@ -63,12 +63,6 @@ <% if @public_body.has_notes? %> <%= @public_body.notes_as_html.html_safe %> <% end %> - - <% if @public_body.override_request_email %> - <p> - <%= _("<strong>Note:</strong> Because we're testing, requests are being sent to {{email}} rather than to the actual authority.", :email => @public_body.override_request_email) %> - </p> - <% end %> </div> </div> diff --git a/app/views/request/new.html.erb b/app/views/request/new.html.erb index 51224129e..688d9e87b 100644 --- a/app/views/request/new.html.erb +++ b/app/views/request/new.html.erb @@ -99,6 +99,12 @@ </div> <% end %> + <% if @info_request.public_body.override_request_email %> + <div class="warning"> + <%= _("<strong>Note:</strong> Because we're testing, requests are being sent to {{email}} rather than to the actual authority.", :email => @info_request.public_body.override_request_email) %> + </div> + <% end %> + <% if @info_request.public_body.eir_only? %> <h3><%= _('Please ask for environmental information only') %></h3> |