Merge branch 'install-doc-uuid-prefix' no issue #
[arvados.git] / apps / workbench / app / views / pipeline_instances / _show_inputs.html.erb
index 65d458bb787ea5dad8d5a8b99dc6bd17aec30893..e6b7ef20347cf2a5c25af1b0304da4554a981b7a 100644 (file)
   <p>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.)</p>
 <% else %>
   <p><i>Provide <%= n_inputs > 1 ? 'values' : 'a value' %> for the following <%= n_inputs > 1 ? 'parameters' : 'parameter' %>, then click the "Run" button to start the pipeline.</i></p>
-  <%= content_for :pi_input_form %>
-
-  <%= link_to(url_for('pipeline_instance[state]' => 'RunningOnServer'),
-      class: 'btn btn-primary run-pipeline-button',
-      method: :patch
-      ) do %>
-    Run <i class="fa fa-fw fa-play"></i>
+  <% 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 <i class="fa fa-fw fa-play"></i>
+    <% end %>
   <% end %>
 
 <% end %>