From b0ffb375ca49bc7947d5dd05e038b6ba262fc58f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Mon, 12 Apr 2010 16:52:07 +0000
Subject: [PATCH] apply same fix as
 http://svn.erp5.org/?view=revision&revision=32900

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34476 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_skins/erp5_km_theme/form_render.xml                 | 3 +--
 bt5/erp5_km/bt/revision                                        | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/form_render.xml b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/form_render.xml
index e24d011959..f59abd308b 100644
--- a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/form_render.xml
+++ b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/form_render.xml
@@ -79,8 +79,7 @@ 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\') &lt; 0"\n
-                    tal:attributes="class python:gid + \n
-                             (\' editable\' * request.get(\'editable_mode\', 0) or \' viewable\');\n
+                    tal:attributes="class python:gid + test(request.get(\'editable_mode\', 0), \' editable\', \' viewable\');\n
                                     id    python: \'fieldset_%s\' % (gid.replace(\' \', \'_\'), );">\n
             <div class="box">\n
               <div class="text">\n
diff --git a/bt5/erp5_km/bt/revision b/bt5/erp5_km/bt/revision
index 4db8f571c2..6fb6e10d3d 100644
--- a/bt5/erp5_km/bt/revision
+++ b/bt5/erp5_km/bt/revision
@@ -1 +1 @@
-1327
\ No newline at end of file
+1328
\ No newline at end of file
-- 
2.30.9