aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2014-11-27 10:04:41 +0000
committerLouise Crow <louise.crow@gmail.com>2014-11-27 10:04:41 +0000
commit89c9add7a48a4b8f696877db8105f4b35ec85431 (patch)
treeb3e95a24d0b06acfa78308be64257b4ea7beb1de
parent30acdb97eb91f073ee6fde063fb5cb0e9f73a002 (diff)
parent5c6c0d568b2f312a69180b94db6eebfee3bd3357 (diff)
Merge branch 'close-update-public-body' into rails-3-develop
-rw-r--r--app/views/admin_general/index.html.erb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/admin_general/index.html.erb b/app/views/admin_general/index.html.erb
index a1f2e1d2d..ba9396ceb 100644
--- a/app/views/admin_general/index.html.erb
+++ b/app/views/admin_general/index.html.erb
@@ -202,8 +202,11 @@
<div id="update-authorities" class="accordion-body collapse">
<% for @change_request in @body_update_requests %>
<%= render :partial => 'change_request_summary' %>
+ <%= form_tag admin_change_request_update_path(@change_request), :class => "form form-horizontal" do %>
+ <%= submit_tag 'Close', :class => "btn btn-danger" %>
<%= link_to("Close and respond", admin_change_request_edit_path(@change_request), :class => 'btn') %>
<%= link_to("Make update", admin_body_edit_path(@change_request.public_body, :change_request_id => @change_request.id), :class => 'btn btn-primary') %>
+ <% end %>
<% end %>
</div>
</div>