X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/35336cd73e444534cb2eda20e3730464cc4e6553..660e8d8345bfe7f34dfc8db655eff6a0af8bd47f:/apps/workbench/app/views/pipeline_instances/_show_components.html.erb diff --git a/apps/workbench/app/views/pipeline_instances/_show_components.html.erb b/apps/workbench/app/views/pipeline_instances/_show_components.html.erb index 638fb8e037..69dd62ec08 100644 --- a/apps/workbench/app/views/pipeline_instances/_show_components.html.erb +++ b/apps/workbench/app/views/pipeline_instances/_show_components.html.erb @@ -68,6 +68,16 @@ <% content_for :js do %> setInterval(function(){$('a.refresh').click()}, 15000); <% end %> + +<% content_for :tab_line_buttons do %> + <%= form_tag @object, :method => :put do |f| %> + + <%= hidden_field @object.class.to_s.underscore.singularize.to_sym, :active, :value => false %> + + <%= button_tag "Stop pipeline", {class: 'btn btn-primary pull-right', id: "run-pipeline-button"} %> + <% end %> +<% end %> + <% end %> <% else %>