X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/7f6d2dbe9ce1a294b4be897e79d612d8c1db71d0..55be42bcb7ede4e83fddefe3894828151e504c3e:/apps/workbench/app/views/pipeline_instances/_show_inputs.html.erb diff --git a/apps/workbench/app/views/pipeline_instances/_show_inputs.html.erb b/apps/workbench/app/views/pipeline_instances/_show_inputs.html.erb index 9507d1625c..e6b7ef2034 100644 --- a/apps/workbench/app/views/pipeline_instances/_show_inputs.html.erb +++ b/apps/workbench/app/views/pipeline_instances/_show_inputs.html.erb @@ -33,15 +33,14 @@

This pipeline does not need any further inputs specified. You can start it by clicking the "Run" button whenever you're ready. (It's not too late to change existing settings, though.)

<% 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 %> - - <% if current_user.is_active %> - <%= link_to(url_for('pipeline_instance[state]' => 'RunningOnServer'), - class: 'btn btn-primary run-pipeline-button', - method: :patch - ) do %> - Run - <% end %> + <% if @object.editable? %> + <%= content_for :pi_input_form %> + <%= link_to(url_for('pipeline_instance[state]' => 'RunningOnServer'), + class: 'btn btn-primary run-pipeline-button', + method: :patch + ) do %> + Run + <% end %> <% end %> <% end %>