From 7a99c1b6345ab3e40f46b24a3aaec3919aecb513 Mon Sep 17 00:00:00 2001 From: Jeremy Goecks Date: Fri, 13 Aug 2010 15:31:23 -0400 Subject: [PATCH] Enable workflow display pages to handle implicit inputs. --- templates/workflow/display.mako | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/templates/workflow/display.mako b/templates/workflow/display.mako index 44c6e0efd03..b816212be6e 100644 --- a/templates/workflow/display.mako +++ b/templates/workflow/display.mako @@ -48,19 +48,7 @@ %> Output dataset '${conn.output_name}' from step ${int(conn.output_step.order_index)+1} %else: - ## FIXME: Initialize in the controller - <% - if value is None: - other_values = {} - value = other_values[ param.name ] = param.get_initial_value( t, other_values ) - %> - ## For display, do not show input elements. - <% html_field = param.get_html_field( t, value, other_values ) %> - %if type( html_field ) in [ form_builder.SelectField ]: - select at runtime - %else: - ${html_field.get_html( str(step.id) + "|" + prefix )} - %endif + select at runtime %endif %else: ${param.value_to_display_text( value, app )}