${self.render_item_header( item )}
diff --git a/templates/webapps/galaxy/workflow/display.mako b/templates/webapps/galaxy/workflow/display.mako
index 4c01992b98d..476144e6675 100644
--- a/templates/webapps/galaxy/workflow/display.mako
+++ b/templates/webapps/galaxy/workflow/display.mako
@@ -14,13 +14,13 @@
<%def name="do_inputs( inputs, values, prefix, step, other_values=None )">
%for input_index, input in enumerate( inputs.values() ):
%if input.type == "repeat":
-
-
${input.title_plural}
+
+
${input.title_plural}
<% repeat_values = values[input.name] %>
%for i in range( len( repeat_values ) ):
-
+
<% index = repeat_values[i]['__index__'] %>
-
${input.title} ${i + 1}
+
${input.title} ${i + 1}
${do_inputs( input.inputs, repeat_values[ i ], prefix + input.name + "_" + str(index) + "|", step, other_values )}
%endfor
@@ -34,9 +34,9 @@
%elif input.type == "section":
<% new_prefix = prefix + input.name + "|" %>
<% group_values = values[input.name] %>
-
${input.title}:
-
-
+
${input.title}:
+
+
${do_inputs( input.inputs, group_values, new_prefix, step, other_values )}
@@ -100,22 +100,22 @@
<%
tool = trans.app.toolbox.get_tool( step.tool_id )
%>
-