--- 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 ''"