3490: Add "Create a pipeline template" button to projects page and provide "arv
[arvados.git] / apps / workbench / app / views / projects / show.html.erb
index cff8bbd9b0de079755d644d505ce6030c0401422..b4d5e9456d199cb588d348e314875c22ad963ff5 100644 (file)
@@ -27,6 +27,9 @@
          { class: "btn btn-primary btn-sm", remote: true, method: 'get' }) do %>
       <i class="fa fa-fw fa-gear"></i> Run a pipeline...
     <% end %>
+    <%= link_to pipeline_templates_path({'pipeline_template[owner_uuid]' => @object.uuid, 'options' => {'ensure_unique_name' => true}}), method: 'post', class: 'btn btn-sm btn-primary' do %>
+      <i class="fa fa-fw fa-plus"></i> Add a pipeline template
+    <% end %>
     <%= link_to projects_path({'project[owner_uuid]' => @object.uuid, 'options' => {'ensure_unique_name' => true}}), method: 'post', class: 'btn btn-sm btn-primary' do %>
       <i class="fa fa-fw fa-plus"></i>
       Add a subproject