From ef79aa32ae8aefe53724309250e883cf704e504b Mon Sep 17 00:00:00 2001
From: Vincent Pelletier <vincent@nexedi.com>
Date: Mon, 24 Apr 2006 12:42:09 +0000
Subject: [PATCH] Add developper buttons in form_dialog.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6892 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_skins/erp5_html_style/form_dialog.xml          | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/product/ERP5/bootstrap/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/form_dialog.xml b/product/ERP5/bootstrap/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/form_dialog.xml
index cca45d89d5..62313a5c9f 100644
--- a/product/ERP5/bootstrap/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/form_dialog.xml
+++ b/product/ERP5/bootstrap/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/form_dialog.xml
@@ -88,6 +88,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\n
 <tal:block metal:use-macro="python:getattr(here,layout_id).macros[\'master\']">\n
   <tal:block metal:fill-slot="main">\n
     <div class="Search">\n
+    <tal:block metal:use-macro="here/form_developper_buttons/macros/form"/>\n
 <span tal:define="groups python: form.get_groups(include_empty=1);\n
                   field_errors python: request.get(\'field_errors\',{});\n
                   params python: here.portal_selections.getSelectionParams(selection_name, REQUEST=request);\n
@@ -163,6 +164,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\n
           </td>\n
           <td tal:define="field_key python:field.id.startswith(\'my_\') and field.id[3:] or field.id;\n
                           value python:field.get_value(\'default\') or request.get(field_key, params.get(field_key,None))">\n
+            <tal:block metal:use-macro="here/form_developper_buttons/macros/field"/>\n
             <span tal:replace="structure python:field.render(value,request)" />\n
           </td>\n
         </tr>\n
@@ -207,6 +209,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\n
           </td>\n
           <td tal:define="field_key python:field.id.startswith(\'my_\') and field.id[3:] or field.id;\n
                           value python:field.get_value(\'default\') or request.get(field_key, params.get(field_key,None))">\n
+            <tal:block metal:use-macro="here/form_developper_buttons/macros/field"/>\n
             <span tal:replace="structure python:field.render(value,request)" />\n
           </td>\n
         </tr>\n
@@ -257,6 +260,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\n
           <tr>\n
           <td tal:define="field_key python:field.id.startswith(\'my_\') and field.id[3:] or field.id;\n
                           value python:field.get_value(\'default\') or request.get(field_key, params.get(field_key,None))">\n
+             <tal:block metal:use-macro="here/form_developper_buttons/macros/field"/>\n
              <span tal:replace="structure python:field.render(value,request)"/>\n
             </td>\n
           </tr>\n
@@ -299,10 +303,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\n
             <key> <string>id</string> </key>
             <value> <string>form_dialog</string> </value>
         </item>
-        <item>
-            <key> <string>title</string> </key>
-            <value> <string></string> </value>
-        </item>
       </dictionary>
     </pickle>
   </record>
-- 
2.30.9