X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/198a6dd8ceb61dd2f6fca7b28d3b074f9b01f67d..85c625c40ad873d0efac33f8a63c1ee256185e36:/apps/workbench/app/helpers/application_helper.rb diff --git a/apps/workbench/app/helpers/application_helper.rb b/apps/workbench/app/helpers/application_helper.rb index f22ab50166..697c469b56 100644 --- a/apps/workbench/app/helpers/application_helper.rb +++ b/apps/workbench/app/helpers/application_helper.rb @@ -564,7 +564,7 @@ module ApplicationHelper "data-emptytext" => "none", "data-placement" => "bottom", "data-type" => "select", - "data-source" => (opt_empty_selection + primary_type[:symbols].map {|i| {:value => i, :text => i} }).to_json, + "data-source" => (opt_empty_selection + primary_type[:symbols].map {|i| {:value => cwl_shortname(i), :text => cwl_shortname(i)} }).to_json, "data-url" => url_for(action: "update", id: object.uuid, controller: object.class.to_s.pluralize.underscore, merge: true), "data-title" => "Set value for #{cwl_shortname(input_schema[:id])}", "data-name" => dn,