diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/form_render.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/form_render.xml index 869582289af55c6af91c5fa420bb968dd33c6f79..02278707259f5b46ffdcde0ea8367481bb463bda 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/form_render.xml +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/form_render.xml @@ -79,8 +79,9 @@ It is possible to specify a group id and a group title by naming a group followi <tal:block tal:repeat="group group_list">\n <tal:block tal:define="gid group/gid;">\n <fieldset tal:condition="python: gid.find(\'hidden\') < 0"\n - tal:attributes="class gid;\n - id python: \'fieldset_%s\' % (gid.replace(\' \', \'_\'), );">\n + tal:attributes="class python:gid + \n + (\' editable\' * request.get(\'editable_mode\', 0) or \' viewable\');\n + id python: \'fieldset_%s\' % (gid.replace(\' \', \'_\'), );">\n <legend i18n:translate="" i18n:domain="ui" tal:condition="group/gtitle" tal:content="group/gtitle" class="group_title"></legend>\n <tal:block tal:repeat="field python: form.get_fields_in_group(group[\'goid\'])">\n <tal:block metal:use-macro="field_render" />\n diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision index 70e36030cf466a23c1274d793ea72cccdb0fe45b..f874bfc9fc8e538830cba7dee0812429b50ab4c0 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision +++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision @@ -1 +1 @@ -648 \ No newline at end of file +651 \ No newline at end of file