Merge branch 'master' into 2221-complete-docker
[arvados.git] / apps / workbench / app / views / pipeline_instances / _show_components.html.erb
index 638fb8e037910d4f63e55786b29a09ed9270e29a..69dd62ec08d088078bfe75fb9ca0d69914384d98 100644 (file)
 <% 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 %>