Removed useless prefix
authorThierry Florac <tflorac@ulthar.net>
Sun, 26 Feb 2017 10:36:27 +0100
changeset 46 95e1e28acb19
parent 45 4f48cdba2e1f
child 47 d88cb7dfabfc
Removed useless prefix
src/pyams_form/templates/inner-form.pt
--- a/src/pyams_form/templates/inner-form.pt	Sun Feb 26 10:35:06 2017 +0100
+++ b/src/pyams_form/templates/inner-form.pt	Sun Feb 26 10:36:27 2017 +0100
@@ -65,7 +65,7 @@
 					</tal:var>
 					<tal:loop repeat="widget group.visible_widgets">
 						<input type="hidden"
-							   tal:condition="python:widget.mode == 'hidden'"
+							   tal:condition="widget.mode == 'hidden'"
 							   tal:replace="structure widget.render()" />
 						<tal:if condition="widget.mode != 'hidden'">
 							<div tal:define="required 'required-field' if widget.required and (widget.mode != 'display') else ''"