From c71fdd0330abb5140ec6a59ebe7af1c1a73f40ea Mon Sep 17 00:00:00 2001
From: Vincent Pelletier <vincent@nexedi.com>
Date: Thu, 29 May 2008 09:28:44 +0000
Subject: [PATCH] quad_form_view is useless now: form_view (plus erp5.js)
 handles the rendering properly.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21214 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../erp5_xhtml_style/quad_form_view.xml       | 61 +------------------
 .../bootstrap/erp5_xhtml_style/bt/revision    |  2 +-
 2 files changed, 2 insertions(+), 61 deletions(-)

diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/quad_form_view.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/quad_form_view.xml
index 37c12c2aa3..1eea63b795 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/quad_form_view.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/quad_form_view.xml
@@ -51,66 +51,7 @@
             <key> <string>_text</string> </key>
             <value> <string encoding="cdata"><![CDATA[
 
-<tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n
-           xmlns:metal="http://xml.zope.org/namespaces/metal"\n
-           xmlns:i18n="http://xml.zope.org/namespaces/i18n">\n
-  <tal:block metal:use-macro="here/view_main/macros/master">\n
-    <tal:block metal:fill-slot="main">\n
-      <tal:block tal:define="field_errors python: request.get(\'field_errors\',{});\n
-                 dummy python: request.set(\'here\', here);\n
-                 left_group python: form.get_fields_in_group(\'left\');\n
-                 right_group python: form.get_fields_in_group(\'right\');\n
-                 center_left_group python: form.get_fields_in_group(\'center_left\');\n
-                 center_right_group python: form.get_fields_in_group(\'center_right\');\n
-                 bottom_group python: form.get_fields_in_group(\'bottom\');\n
-                 field_render nocall: here/field_render/macros/field_render">\n
-        <tal:block tal:condition="preferred_html_style_developper_mode">\n
-          <tal:block metal:use-macro="developper_shortcut_render/macros/form" />\n
-        </tal:block>\n
-        <div tal:condition="python: len(left_group) > 0 or len(right_group) > 0"\n
-          class="top_group">\n
-          <fieldset tal:condition="python: len(left_group) > 0"\n
-            class="left">\n
-            <tal:block tal:repeat="field left_group">\n
-              <tal:block metal:use-macro="field_render" />\n
-            </tal:block>\n
-          </fieldset>\n
-          <fieldset tal:condition="python: len(right_group) > 0"\n
-            class="right">\n
-            <tal:block tal:repeat="field right_group">\n
-              <tal:block metal:use-macro="field_render" />\n
-            </tal:block>\n
-          </fieldset>\n
-          <p class="clear"></p>\n
-        </div>\n
-        <div tal:condition="python: len(center_left_group) > 0 or len(center_right_group) > 0"\n
-          class="top_group">\n
-          <fieldset tal:condition="python: len(center_left_group) > 0"\n
-            class="left">\n
-            <tal:block tal:repeat="field center_left_group">\n
-              <tal:block metal:use-macro="field_render" />\n
-            </tal:block>\n
-          </fieldset>\n
-          <fieldset tal:condition="python: len(center_right_group) > 0"\n
-            class="right">\n
-            <tal:block tal:repeat="field center_right_group">\n
-              <tal:block metal:use-macro="field_render" />\n
-            </tal:block>\n
-          </fieldset>\n
-          <p class="clear"></p>\n
-        </div>\n
-        <fieldset tal:condition="python: len(bottom_group) > 0"\n
-          class="center">\n
-          <tal:block tal:repeat="field python: form.get_fields_in_group(\'bottom\')">\n
-            <tal:block metal:use-macro="field_render" />\n
-          </tal:block>\n
-          <p class="clear"></p>\n
-        </fieldset>\n
-      </tal:block>\n
-    </tal:block>\n
-  </tal:block>\n
-</tal:block>\n
-
+<tal:block metal:use-macro="here/form_view/macros/master"/>
 
 ]]></string> </value>
         </item>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
index 135b797b48..e953fd4efb 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
@@ -1 +1 @@
-542
+545
\ No newline at end of file
-- 
2.30.9