diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/template_erp5_xhtml_style.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/template_erp5_xhtml_style.xml
index 187b32bf7c398ae72701fd243c2c581b0b2402a8..c4369fa4facf69e36e0719b97c907558bbc80eff 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/template_erp5_xhtml_style.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/template_erp5_xhtml_style.xml
@@ -126,13 +126,15 @@ IDEAS:\n
     <form id="main_form"\n
           tal:attributes="enctype form/Form_getEnctype | nothing;\n
                           action url;\n
-                          method form/method | string:post">\n
+                          method python:str(path(\'form/method | string:post\')).lower()">\n
       <!-- Hidden button as explained in http://ppewww.ph.gla.ac.uk/~flavell/www/formquestion.html -->\n
       <!-- We should probably call the default method instead -->\n
+      <fieldset>\n
       <input tal:condition="form_action | nothing"\n
              id="hidden_button" type="submit" value="dummy"\n
              tal:attributes="name string:${form_action}:method" />\n
       <tal:block metal:use-macro="global_definitions_macros/http_definitions"/>\n
+      </fieldset>\n
       <tal:block metal:define-slot="layout">\n
       <div id="bars">\n
         <div id="main_bar"\n
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/change_log b/product/ERP5/bootstrap/erp5_xhtml_style/bt/change_log
index 22cf375703e75a0305b5f14d06a63a189946acf5..fd658fb8b86c9a12ecab5f2abef365fdc037d669 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/change_log
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/change_log
@@ -1,3 +1,6 @@
+2007-07-02 Yusei
+* Fixed a invalid xhtml template.
+
 2007-06-12 JPS
 * Added MochiKit by default to handle onload events
 
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
index 43f9cb64132d45b9914202fd5b6153004aa5d34a..50b04dff0ea766f7fa6d8487eec7ff0a9a3611b8 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
@@ -1 +1 @@
-396
\ No newline at end of file
+402
\ No newline at end of file