diff options
-rw-r--r-- | app/views/body/show.rhtml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/body/show.rhtml b/app/views/body/show.rhtml index 84ee2a617..7b5a905fa 100644 --- a/app/views/body/show.rhtml +++ b/app/views/body/show.rhtml @@ -6,6 +6,11 @@ A public body in the UK, also called <%= h(@public_body.short_name) %> </p> +<% form_for(:info_request, @info_request, :url => new_request_url, :html => { :id => 'public_body_form' } ) do |f| %> + <%= f.hidden_field(:public_body_id, { :value => @public_body.id } ) %> + <p><%= submit_tag "Make new FOI request to " + @public_body.short_name %></p> +<% end %> + <% if @public_body.info_requests.empty? %> <p>Nobody has made any Freedom of Information requests to this public body using this site.</p> |