Updated object subform template for z3c.form >= 3.6
authorThierry Florac <thierry.florac@onf.fr>
Fri, 26 Jan 2018 17:26:25 +0100
changeset 78 1e9abe10474b
parent 77 e9c0e9b18694
child 79 028af0bbc5f4
Updated object subform template for z3c.form >= 3.6
src/pyams_form/widget/templates/object-subform.pt
--- a/src/pyams_form/widget/templates/object-subform.pt	Fri Jan 26 17:24:47 2018 +0100
+++ b/src/pyams_form/widget/templates/object-subform.pt	Fri Jan 26 17:26:25 2018 +0100
@@ -1,6 +1,6 @@
 <div class="object-widget" tal:attributes="class view/klass">
 	<fieldset>
-		<tal:loop repeat="widget view/widgets/values">
+		<tal:loop repeat="widget view/subform/widgets/values">
 			<input type="hidden"
 				   tal:condition="python:widget.mode == 'hidden'"
 				   tal:replace="structure widget/render" />