Merge branch '2800-python-global-state' into 2800-pgs
[arvados.git] / apps / workbench / app / views / pipeline_templates / show.html.erb
1 <% content_for :tab_line_buttons do %>
2   <%= button_to(choose_projects_path(id: "run-pipeline-button",
3                                      title: 'Choose project',
4                                      editable: true,
5                                      action_name: 'Choose',
6                                      action_href: pipeline_instances_path,
7                                      action_method: 'post',
8                                      action_data: {selection_param: 'pipeline_instance[owner_uuid]',
9                                                    'pipeline_instance[pipeline_template_uuid]' => @object.uuid,
10                                                    'success' => 'redirect-to-created-object'
11                                                   }.to_json),
12                 { class: "btn btn-primary btn-sm", remote: true, method: 'get' }
13                ) do %>
14                    Run this pipeline
15                  <% end %>
16 <% end %>
17
18 <%= render file: 'application/show.html.erb', locals: local_assigns %>