diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/view_main.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/view_main.xml
index 95030a84e1019f45baa8cbd5251409779d010b7c..79d76bfdc8f6bd0ba0b809a5b613c8d41cf50300 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/view_main.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/view_main.xml
@@ -73,11 +73,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\n
 -->\n
 </tal:block>\n
 <tal:block metal:define-macro="master">\n
-  <tal:block tal:define="object_uid here/getUid | nothing;\n
-                         object_path here/getPath | nothing;\n
-                         form nocall: form | nothing;\n
-                         form_id form/id | nothing;\n
-                         form_action python: form and form.action not in (\'\', None) and here.portal_membership.checkPermission(\'Modify portal content\', here) and form.action or nothing;\n
+  <tal:block tal:define="object_uid   here/getUid | nothing;\n
+                         object_path  here/getPath | nothing;\n
+                         form         nocall: form | nothing;\n
+                         form_id      form/id | nothing;\n
+                         form_action  python: form and form.action not in (\'\', None) and here.portal_membership.checkPermission(\'Modify portal content\', here) and form.action or nothing;\n
 \n
                          local_parameter_list local_parameter_list | python: {};\n
                          dummy python: local_parameter_list.update({\'object_uid\': object_uid, \'object_path\': object_path, \'form_id\': form_id});\n
@@ -100,7 +100,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\n
                       i18n:translate="" i18n:domain="ui">Save</span>\n
               </button>\n
             </tal:block>\n
-            <ul tal:condition="python: not is_web_mode and len(actions)">\n
+            <ul tal:condition="python: (not is_web_mode or editable_mode) and len(actions)">\n
               <tal:block tal:repeat="action actions">\n
                 <li tal:attributes="class python: action == current_action and \'selected\' or \'not_selected\'">\n
                   <a tal:attributes="href python: here.ERP5XhtmlStyle_renderLink(action[\'url\'], http_parameters)"\n