Updated object widget template for z3c.form >= 4.1
authorThierry Florac <tflorac@ulthar.net>
Tue, 19 Nov 2019 16:30:58 +0100
changeset 203 ba372884335f
parent 202 8a57f86f2d3f
child 204 c435de184bda
Updated object widget template for z3c.form >= 4.1
src/pyams_form/widget/templates/object-subform.pt
--- a/src/pyams_form/widget/templates/object-subform.pt	Tue Nov 19 16:19:23 2019 +0100
+++ b/src/pyams_form/widget/templates/object-subform.pt	Tue Nov 19 16:30:58 2019 +0100
@@ -1,6 +1,6 @@
 <div class="object-widget" tal:attributes="class view/klass">
 	<fieldset>
-		<tal:loop repeat="widget view/subform/widgets/values">
+		<tal:loop repeat="widget view/widgets/values">
 			<input type="hidden"
 				   tal:condition="python:widget.mode == 'hidden'"
 				   tal:replace="structure widget/render" />