% n_inputs = 0 %> <% content_for :pi_input_form do %>
<% end %> <% if n_inputs == 0 %>This pipeline does not need any further inputs specified. You can start it by clicking the "Run" button.
<% else %>Provide <%= n_inputs > 1 ? 'values' : 'a value' %> for the following <%= n_inputs > 1 ? 'parameters' : 'parameter' %>, then click the "Run" button to start the pipeline.
<%= content_for :pi_input_form %> <%= form_tag @object, :method => :put do |f| %> <%= hidden_field @object.class.to_s.underscore.singularize.to_sym, :state, :value => 'RunningOnServer' %> <%= button_tag({class: 'btn btn-primary run-pipeline-button'}) do %> Run <% end %> <% end %> <% end %>Click the "Components" tab above to see a full list of pipeline components and parameters.