details: http://www.bx.psu.edu/hg/galaxy/rev/d3268bb6e48a changeset: 3751:d3268bb6e48a user: jeremy goecks <jeremy.goecks@emory.edu> date: Thu May 06 17:52:49 2010 -0400 description: Fix bug that was preventing annotation of workflow input datasets. diffstat: templates/workflow/editor_generic_form.mako | 76 ++++++++++++++-------------- 1 files changed, 38 insertions(+), 38 deletions(-) diffs (84 lines): diff -r 370777a0693f -r d3268bb6e48a templates/workflow/editor_generic_form.mako --- a/templates/workflow/editor_generic_form.mako Thu May 06 12:30:54 2010 -0400 +++ b/templates/workflow/editor_generic_form.mako Thu May 06 17:52:49 2010 -0400 @@ -1,42 +1,42 @@ -<div class="toolForm"> - <div class="toolFormTitle">${form.title}</div> - <div class="toolFormBody"> - <form name="${form.name}" action="${h.url_for( action='editor_form_post' )}" method="post"> - <input type="hidden" name="type" value="${module.type}" /> - %if form.inputs: - %for input in form.inputs: - <% - cls = "form-row" - if input.error: - cls += " form-row-error" - %> - <div class="${cls}"> - <label> - ${input.label}: - </label> - <div style="float: left; width: 250px; margin-right: 10px;"> - <input type="${input.type}" name="${input.name | h}" value="${input.value | h}" size="30"> - </div> - %if input.error: - <div style="float: left; color: red; font-weight: bold; padding-top: 1px; padding-bottom: 3px;"> - <div style="width: 300px;"><img style="vertical-align: middle;" src="${h.url_for('/static/style/error_small.png')}"> <span style="vertical-align: middle;">${input.error}</span></div> - </div> - %endif +<form name="${form.name}" action="${h.url_for( action='editor_form_post' )}" method="post"> + <div class="toolForm"> + <div class="toolFormTitle">${form.title}</div> + <div class="toolFormBody"> + <input type="hidden" name="type" value="${module.type}" /> + %if form.inputs: + %for input in form.inputs: + <% + cls = "form-row" + if input.error: + cls += " form-row-error" + %> + <div class="${cls}"> + <label> + ${input.label}: + </label> + <div style="float: left; width: 250px; margin-right: 10px;"> + <input type="${input.type}" name="${input.name | h}" value="${input.value | h}" size="30"> + </div> + %if input.error: + <div style="float: left; color: red; font-weight: bold; padding-top: 1px; padding-bottom: 3px;"> + <div style="width: 300px;"><img style="vertical-align: middle;" src="${h.url_for('/static/style/error_small.png')}"> <span style="vertical-align: middle;">${input.error}</span></div> + </div> + %endif - %if input.help: - <div class="toolParamHelp" style="clear: both;"> - ${input.help} - </div> - %endif + %if input.help: + <div class="toolParamHelp" style="clear: both;"> + ${input.help} + </div> + %endif - <div style="clear: both"></div> + <div style="clear: both"></div> - </div> - %endfor - %else: - <div class="form-row"><i>No options</i></div> - %endif - </table> - </form> + </div> + %endfor + %else: + <div class="form-row"><i>No options</i></div> + %endif + </table> + </div> </div> -</div> +</form>