diff --git a/templates/show_params.mako b/templates/show_params.mako
index 5043652485c..19681d8664f 100644
--- a/templates/show_params.mako
+++ b/templates/show_params.mako
@@ -65,20 +65,21 @@
${inputs_recursive_indent( text=input.label, depth=depth )}
%for i, element in enumerate(listify(param_values[input.name])):
- %if i > 0:
- ,
- %endif
- %if element.history_content_type == "dataset":
- <%
- hda = element
- encoded_id = trans.security.encode_id( hda.id )
- show_params_url = h.url_for( controller='dataset', action='show_params', dataset_id=encoded_id )
- %>
- ${hda.name | h}
- %else:
- ${element.hid}: ${element.name | h}
- %endif
+ %if i > 0:
+ ,
+ %endif
+ %if element.history_content_type == "dataset":
+ <%
+ hda = element
+ encoded_id = trans.security.encode_id( hda.id )
+ show_params_url = h.url_for( controller='dataset', action='show_params', dataset_id=encoded_id )
+ %>
+ ${hda.hid}: ${hda.name | h}
+
+ %else:
+ ${element.hid}: ${element.name | h}
+ %endif
%endfor
|
|