From c436ae26596500709b11cc028ac8918594e3a961 Mon Sep 17 00:00:00 2001 From: Vincent Pelletier <vincent@nexedi.com> Date: Fri, 13 Oct 2006 09:25:57 +0000 Subject: [PATCH] Factorise page template gathering for field_render. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10690 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../erp5_xhtml_style/quad_form_view.xml | 13 +++++++------ product/ERP5/bootstrap/erp5_xhtml_style/bt/revision | 2 +- 2 files changed, 8 insertions(+), 7 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 ea543630b4..64346734d5 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 @@ -80,7 +80,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\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 + bottom_group python: form.get_fields_in_group(\'bottom\');\n + field_render nocall: here/field_render/macros/field_render">\n <tal:block tal:define="template python: here.developper_shortcut_render">\n <tal:block metal:use-macro="template/macros/form" />\n </tal:block>\n @@ -89,13 +90,13 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\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="here/field_render/macros/field_render" />\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="here/field_render/macros/field_render" />\n + <tal:block metal:use-macro="field_render" />\n </tal:block>\n </fieldset>\n <p class="clear"></p>\n @@ -105,13 +106,13 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\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="here/field_render/macros/field_render" />\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="here/field_render/macros/field_render" />\n + <tal:block metal:use-macro="field_render" />\n </tal:block>\n </fieldset>\n <p class="clear"></p>\n @@ -119,7 +120,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\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="here/field_render/macros/field_render" />\n + <tal:block metal:use-macro="field_render" />\n </tal:block>\n <p class="clear"></p>\n </fieldset>\n diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision index 8c9cf7e266..98ecf5813e 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision +++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision @@ -1 +1 @@ -258 +259 -- 2.30.9