##// END OF EJS Templates
svn-support: Add missing argument to tmplate context....
svn-support: Add missing argument to tmplate context. This argument was only added in the view handling GET requests. But in case of an error the POST view also rederes the template and threfore need this arguement.

File last commit:

r518:9f9ffd3a default
r1023:7d893c6f default
Show More
sequence.pt
23 lines | 698 B | text/plain | TextLexer
<div tal:define="
item_tmpl item_template|field.widget.readonly_item_template;
oid oid|field.oid;
name name|field.name;
title title|field.title;"
class="deform-seq"
id="${oid}">
<div class="panel panel-default">
<div class="panel-heading">${title}</div>
<div class="panel-body">
<div class="deform-seq-container">
<div tal:define="subfields [ x[1] for x in subfields ]"
tal:repeat="subfield subfields"
tal:replace="structure subfield.render_template(item_tmpl,
parent=field)" />
</div>
<div style="clear: both"></div>
</div>
</div>
</div>