X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/34389f5d6803e4ae51c09d116baf2d75ef546b10..668a799436295a17223096392898cf257d8dfc76:/apps/workbench/app/views/pipeline_templates/_show_components.html.erb diff --git a/apps/workbench/app/views/pipeline_templates/_show_components.html.erb b/apps/workbench/app/views/pipeline_templates/_show_components.html.erb index 509b86a10e..fd4a0ed7b5 100644 --- a/apps/workbench/app/views/pipeline_templates/_show_components.html.erb +++ b/apps/workbench/app/views/pipeline_templates/_show_components.html.erb @@ -1,18 +1,5 @@ -<% content_for :tab_line_buttons do %> - <%= button_to(choose_projects_path(id: "run-pipeline-button", - title: 'Choose project', - editable: true, - action_name: 'Choose', - action_href: pipeline_instances_path, - action_method: 'post', - action_data: {selection_param: 'pipeline_instance[owner_uuid]', - 'pipeline_instance[pipeline_template_uuid]' => @object.uuid, - 'success' => 'redirect-to-created-object' - }.to_json), - { class: "btn btn-primary btn-sm", remote: true, method: 'get' } - ) do %> - Run this pipeline - <% end %> -<% end %> +<%# Copyright (C) The Arvados Authors. All rights reserved. -<%= render partial: 'pipeline_instances/show_components_editable', locals: {editable: false} %> +SPDX-License-Identifier: AGPL-3.0 %> + +<%= render_pipeline_components("editable", :json, editable: false) %>