Removed reference to 'subform' in object field widget template
authorThierry Florac <thierry.florac@onf.fr>
Fri, 09 Jun 2017 09:57:28 +0200
changeset 52 c78a1493697b
parent 51 91f74fdc2dee
child 53 cbc14b9e67af
Removed reference to 'subform' in object field widget template
src/pyams_form/widget/templates/object-subform.pt
--- a/src/pyams_form/widget/templates/object-subform.pt	Tue Jun 06 18:02:40 2017 +0200
+++ b/src/pyams_form/widget/templates/object-subform.pt	Fri Jun 09 09:57:28 2017 +0200
@@ -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" />