X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/a7824d56a519db6d729323ca56e653db7e895f3c..050e18ef86f2cb16f2ae981be8b4123ad8e08697:/apps/workbench/app/views/projects/_show_pipeline_templates.html.erb?ds=sidebyside diff --git a/apps/workbench/app/views/projects/_show_pipeline_templates.html.erb b/apps/workbench/app/views/projects/_show_pipeline_templates.html.erb index c54e28dfeb..b875b086ec 100644 --- a/apps/workbench/app/views/projects/_show_pipeline_templates.html.erb +++ b/apps/workbench/app/views/projects/_show_pipeline_templates.html.erb @@ -1,8 +1,3 @@ -<% - filters = [['uuid', 'is_a', "arvados#pipelineTemplate"]] - @objects = @object.contents({limit: 50, include_linked: true, :filters => filters}) - objects_and_names = get_objects_and_names @objects - page_offset = next_page_offset @objects -%> - -<%= render partial: 'show_tab_contents', locals: {project: @object, objects_and_names: objects_and_names, filters: filters, page_offset: page_offset, tab_name: 'Pipeline_templates'} %> +<%= render_pane 'tab_contents', to_string: true, locals: { + filters: [['uuid', 'is_a', ["arvados#pipelineTemplate"]]] + }.merge(local_assigns) %>