diff options
Diffstat (limited to 'app/views/body')
-rw-r--r-- | app/views/body/show.rhtml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/body/show.rhtml b/app/views/body/show.rhtml index 7b5a905fa..44677548e 100644 --- a/app/views/body/show.rhtml +++ b/app/views/body/show.rhtml @@ -7,8 +7,10 @@ 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| %> + <p> <%= f.hidden_field(:public_body_id, { :value => @public_body.id } ) %> - <p><%= submit_tag "Make new FOI request to " + @public_body.short_name %></p> + <%= submit_tag "Make new FOI request to " + @public_body.short_name %> + </p> <% end %> <% if @public_body.info_requests.empty? %> |