+<% if @object.components.empty? %>
+ <p>This pipeline template is empty.</p>
+<% end %>
+
+<p>Edit this pipeline template at the command line with:</p>
+<pre>$ <code>arv edit <%= @object.uuid %> name components</code></pre>
+
+<% if @object.components.any? %>
+
<table class="table pipeline-components-table" style="margin-top: -.1em">
<colgroup>
<col style="width: 20%" />
<% end %>
</tbody>
</table>
+<% end %>
{ 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