X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/24f455da9cb2bf7a3c519912abbc15292a414655..801add452adb8804711ee10deff82243913fc9df:/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 index b2fb245454..07bf7c4d76 100644 --- a/apps/workbench/app/views/container_requests/_show_inputs.html.erb +++ b/apps/workbench/app/views/container_requests/_show_inputs.html.erb @@ -1,3 +1,7 @@ +<%# Copyright (C) The Arvados Authors. All rights reserved. + +SPDX-License-Identifier: AGPL-3.0 %> + <% n_inputs = if @object.mounts[:"/var/lib/cwl/workflow.json"] && @object.mounts[:"/var/lib/cwl/cwl.input.json"] cwl_inputs_required(@object, get_cwl_inputs(@object.mounts[:"/var/lib/cwl/workflow.json"][:content]), [:mounts, :"/var/lib/cwl/cwl.input.json", :content]) @@ -13,23 +17,23 @@ n_inputs = if @object.mounts[:"/var/lib/cwl/workflow.json"] && @object.mounts[:" <% if workflow %> <% inputs = get_cwl_inputs(workflow) %> <% inputs.each do |input| %> - -
-

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

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

+ <%= input[:doc] %>

-

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

<% end %> <% end %>
<% end %> +

Reuse past workflow steps if available? <%= render_editable_attribute(@object, :reuse_steps) %>

+ <% 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 %>