diff options
author | Louise Crow <louise.crow@gmail.com> | 2014-11-18 10:13:28 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2014-11-18 10:13:28 +0000 |
commit | 5c6c0d568b2f312a69180b94db6eebfee3bd3357 (patch) | |
tree | 1d69abbef645dd801f909b50d391d0fc71f002b8 | |
parent | ab76e4a18904af104ab532cc273ba15d9bef6f75 (diff) |
Adds button missing from 921ee9a19c267bb0e6e784091b985f3ba80d835b
-rw-r--r-- | app/views/admin_general/index.html.erb | 3 |
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> |