X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/1a87c77a5cfe200921a9d09e995383bc675e7370..c7cf228372bee18d84b14fc4089a758bc157fe76:/apps/workbench/app/views/container_requests/_show_inputs.html.erb diff --git a/apps/workbench/app/views/container_requests/_show_inputs.html.erb b/apps/workbench/app/views/container_requests/_show_inputs.html.erb deleted file mode 100644 index a6c4bffacd..0000000000 --- a/apps/workbench/app/views/container_requests/_show_inputs.html.erb +++ /dev/null @@ -1,41 +0,0 @@ -<% n_inputs = cwl_inputs_required(@object, get_cwl_inputs(@object.mounts[:"/var/lib/cwl/workflow.json"][:content]), [:mounts, :"/var/lib/cwl/cwl.input.json", :content]) %> - -<% content_for :pi_input_form do %> -
-
- <% workflow = @object.mounts[:"/var/lib/cwl/workflow.json"][:content] %> - <% inputs = get_cwl_inputs(workflow) %> - <% inputs.each do |input| %> - -
-

- <%= render_cwl_input @object, input, [:mounts, :"/var/lib/cwl/cwl.input.json", :content] %> -

-
-

- <%= input[:doc] %> -

- <% end %> -
-
-<% end %> - -<% if n_inputs == 0 %> -

This workflow does not need any further inputs specified. Click the "Run" button at the bottom of the page to start the workflow.

-<% else %> -

Provide <%= n_inputs > 1 ? 'values' : 'a value' %> for the following <%= n_inputs > 1 ? 'parameters' : 'parameter' %>, then click the "Run" button to start the workflow.

-<% end %> - -<% if @object.editable? %> - <%= content_for :pi_input_form %> - <%= link_to(url_for('container_request[state]' => 'Committed'), - class: 'btn btn-primary run-pipeline-button', - method: :patch - ) do %> - Run - <% end %> -<% end %> - -<%= render_unreadable_inputs_present %>