From f2438ef88502fa2e8a863b2cfbf476d31ba0409b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bartek=20G=C3=B3rny?= <bartek@gorny.edu.pl>
Date: Thu, 20 Mar 2008 16:55:13 +0000
Subject: [PATCH] wrap "label+div+p" in a div to facilitate DOM manipulation

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20078 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_skins/erp5_xhtml_style/field_render.xml              | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/field_render.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/field_render.xml
index fd594eebe1..d4ea95125a 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/field_render.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/field_render.xml
@@ -68,6 +68,7 @@
            class python: \' \'.join([x for x in [\'field\', field.is_required() and \'required\' or None, field_has_error and \'error\' or None, field.get_value(\'css_class\') or None] if x is not None])"\n
            i18n:attributes="title" i18n:domain="ui">\n
         <tal:block tal:repeat="html_tuple html_render">\n
+         <div>\n
           <label>\n
             <tal:block tal:content="structure python: html_tuple[0]"\n
                        i18n:translate="" i18n:domain="ui" />\n
@@ -84,6 +85,7 @@
                 tal:content="python: field_errors[field_id].error_text"\n
                 i18n:translate="" i18n:domain="ui" />\n
           <p class="clear" tal:condition="not:is_web_mode"></p>\n
+         </div>\n
         </tal:block>\n
       </div>\n
     </tal:block>\n
-- 
2.30.9