Commit 4a551f85 authored by Julien Muchembled's avatar Julien Muchembled

* Remove unused/duplicate 'id' attribute. If such an attribute is required,...

* Remove unused/duplicate 'id' attribute. If such an attribute is required, then we must must either use 'class' or change naming policy of groups.
* Remove invalid 'name' attribute.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23189 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4e0e965a
...@@ -92,8 +92,7 @@ Example of macro use (similar to \'erp5_web_default_template\' use):\n ...@@ -92,8 +92,7 @@ Example of macro use (similar to \'erp5_web_default_template\' use):\n
gtitle group/gtitle;\n gtitle group/gtitle;\n
goid group/goid;\n goid group/goid;\n
field_list python: layout_form.get_fields_in_group(goid);">\n field_list python: layout_form.get_fields_in_group(goid);">\n
<div tal:attributes="class python: gid;\n <div tal:attributes="class python: gid;"\n
id python: \'fieldset_\' + gid.replace(\' \', \'_\');"\n
tal:condition="python:len(field_list)">\n tal:condition="python:len(field_list)">\n
<fieldset class="widget">\n <fieldset class="widget">\n
<legend i18n:translate="" i18n:domain="ui" tal:content="python: gtitle" class="group_title"/>\n <legend i18n:translate="" i18n:domain="ui" tal:content="python: gtitle" class="group_title"/>\n
......
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
\n \n
We need to setup the actions variable from the request because\n We need to setup the actions variable from the request because\n
this template is called from outside the main rendering process-->\n this template is called from outside the main rendering process-->\n
<div name="adminSection" class="adminSection">\n <div class="adminSection">\n
<h3><tal:block tal:content="portal_type"/> Actions</h3>\n <h3><tal:block tal:content="portal_type"/> Actions</h3>\n
<tal:block metal:use-macro="here/context_box_render/macros/action"/>\n <tal:block metal:use-macro="here/context_box_render/macros/action"/>\n
</div>\n </div>\n
......
694 695
\ No newline at end of file \ No newline at end of file
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