[Erp5-report] r20078 - /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateIte...
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Mar 20 17:55:13 CET 2008
Author: bartek
Date: Thu Mar 20 17:55:13 2008
New Revision: 20078
URL: http://svn.erp5.org?rev=20078&view=rev
Log:
wrap "label+div+p" in a div to facilitate DOM manipulation
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/field_render.xml
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/field_render.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/field_render.xml?rev=20078&r1=20077&r2=20078&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/field_render.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/field_render.xml Thu Mar 20 17:55:13 2008
@@ -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
More information about the Erp5-report
mailing list