aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Wright <martin@mysociety.org>2015-01-13 10:45:25 +0000
committerLouise Crow <louise.crow@gmail.com>2015-03-02 16:25:31 +0000
commit2df0322adeece42404a82957a8f1bf42c9d42407 (patch)
treef64c9fc554b52210d9772e228e589f8efbefe10b
parentbc1e3a2f1443a20d107a50e15833232a986e5773 (diff)
Add in new partials
-rw-r--r--app/views/public_body/show.html.erb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/public_body/show.html.erb b/app/views/public_body/show.html.erb
index d9b89ea1d..e9798f0a9 100644
--- a/app/views/public_body/show.html.erb
+++ b/app/views/public_body/show.html.erb
@@ -110,8 +110,7 @@
<a name="results"></a>
<% if @public_body.info_requests.size > 4 %>
- <%= render :partial => 'request/request_search_form',
- :locals => { :after_form_fields => render(:partial => 'request/request_filter_form') } %>
+ <%= render :partial => 'request/request_filter_form' %>
<% end %>
<% end %>
@@ -144,9 +143,10 @@
<div class="authority__body__sidebar">
<% if @public_body.info_requests.size > 4 %>
- <%= render :partial => 'request/request_filter_form' %>
+ <%= render :partial => 'request/request_search_form' %>
<% end %>
<%= render :partial => 'more_info', :locals => { :public_body => @public_body } %>
+ <%= render :partial => 'track/tracking_links', :locals => { :track_thing => @track_thing, :own_request => false, :location => 'sidebar' } %>
</div>
</div>