From 7e499594000c7f3769beb946482ca66639106855 Mon Sep 17 00:00:00 2001 From: Sebastien Robin <seb@nexedi.com> Date: Mon, 8 Feb 2010 11:06:50 +0000 Subject: [PATCH] display the meta type of the template of the proxy field git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32310 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Form/dtml/proxyFieldEdit.dtml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/product/ERP5Form/dtml/proxyFieldEdit.dtml b/product/ERP5Form/dtml/proxyFieldEdit.dtml index 00af06c462..2346c1c50a 100644 --- a/product/ERP5Form/dtml/proxyFieldEdit.dtml +++ b/product/ERP5Form/dtml/proxyFieldEdit.dtml @@ -9,6 +9,8 @@ Surcharge <dtml-var meta_type> properties here. <form action="manage_edit" method="POST"> <table cellspacing="0" cellpadding="2" border="0"> +<dtml-let proxy_field="this()" + current_field="proxy_field.getRecursiveTemplateField()"> <!-- First, display ProxyField properties --> <!-- see: Formulator/dtml/fieldEdit.dtml --> @@ -18,7 +20,7 @@ Surcharge <dtml-var meta_type> properties here. <dtml-if fields> <tr> <td colspan="3" class="form-title"> - Proxy Widget properties + Proxy Widget properties <dtml-if "current_field is not None">(<dtml-var expr="current_field.meta_type">)</dtml-if> </td> </tr> <dtml-var fieldListHeader> @@ -50,8 +52,6 @@ Surcharge <dtml-var meta_type> properties here. <!-- Then, display Template Field properties --> -<dtml-let proxy_field="this()" - current_field="proxy_field.getRecursiveTemplateField()"> <dtml-if "current_field is not None"> <dtml-let form="current_field.form"> -- 2.30.9