Commit 59d7ef09 authored by Kevin Deldycke's avatar Kevin Deldycke

Delete div wrapper for web widget rendering in erp5_web_default_template.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9520 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b68d4694
...@@ -94,9 +94,8 @@ ...@@ -94,9 +94,8 @@
<tal:block metal:define-slot="main"/>\n <tal:block metal:define-slot="main"/>\n
</div>\n </div>\n
\n \n
<div id="main_widget" tal:condition="python: layout_form is not None">\n <tal:block tal:condition="python: layout_form is not None"\n
<!-- Go to each group of the form and call the field -->\n tal:define="field_errors python: request.get(\'field_errors\', {});\n
<tal:block tal:define="field_errors python: request.get(\'field_errors\',{});\n
dummy python: request.set(\'editable_mode\', 1);\n dummy python: request.set(\'editable_mode\', 1);\n
groups python: layout_form.get_groups(include_empty=0)">\n groups python: layout_form.get_groups(include_empty=0)">\n
<tal:block tal:define="template python: here.developper_shortcut_render">\n <tal:block tal:define="template python: here.developper_shortcut_render">\n
...@@ -104,15 +103,14 @@ ...@@ -104,15 +103,14 @@
</tal:block>\n </tal:block>\n
<tal:block>\n <tal:block>\n
<tal:block tal:repeat="group groups">\n <tal:block tal:repeat="group groups">\n
<div tal:attributes="class group" tal:condition="python:group.find(\'hidden\') < 0">\n <div tal:attributes="class group; id group" tal:condition="python: group.find(\'hidden\') < 0">\n
<tal:block tal:repeat="field python:layout_form.get_fields_in_group(group)">\n <tal:block tal:repeat="field python: layout_form.get_fields_in_group(group)">\n
<tal:block metal:use-macro="here/field_render/macros/field_render"/>\n <tal:block metal:use-macro="here/field_render/macros/field_render"/>\n
</tal:block>\n </tal:block>\n
</div>\n </div>\n
</tal:block>\n </tal:block>\n
</tal:block>\n </tal:block>\n
</tal:block>\n </tal:block>\n
</div>\n
\n \n
</form>\n </form>\n
</body>\n </body>\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