Merge branch 'origin-9043-test-edit-container-request' closes #9043
[arvados.git] / apps / workbench / app / views / pipeline_instances / _show_inputs.html.erb
index 67afba1de9f7690e39b8719f0d28e5cb153d9961..567ca72504146667b3f7c04c4be70775466426bf 100644 (file)
 <% if n_inputs == 0 %>
   <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 %>
-  <% if controller.class.name.eql?('PipelineInstancesController') and unreadable_inputs_present? %>
-    <div class="unreadable-inputs-present">
-      <p style="color:#ff6666"> One or more inputs provided are not readable by you. Please correct these before you can run the pipeline.</p>
-    </div>
-  <% end %>
+  <%= render_unreadable_inputs_present %>
 
   <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>
   <% if @object.editable? %>