Commit b73344a3 authored by Kevin Deldycke's avatar Kevin Deldycke

fields_errors should be handled in an upper layer.

editable_mode setter was moved to an upper layer.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10306 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 442e947c
...@@ -69,9 +69,7 @@ ...@@ -69,9 +69,7 @@
</div>\n </div>\n
\n \n
<!-- Layout form rendering -->\n <!-- Layout form rendering -->\n
<tal:block tal:condition="python: layout_form is not None"\n <tal:block tal:condition="python: layout_form is not None">\n
tal:define="field_errors python: request.get(\'field_errors\', {});\n
dummy python: request.set(\'editable_mode\', 1)">\n
\n \n
<tal:block tal:define="template python: here.developper_shortcut_render">\n <tal:block tal:define="template python: here.developper_shortcut_render">\n
<tal:block metal:use-macro="template/macros/form"/>\n <tal:block metal:use-macro="template/macros/form"/>\n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment