[Erp5-report] r6890 - /erp5/trunk/products/ERP5/bootstrap/erp5_html_style/SkinTemplateItem/...
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Apr 24 14:39:31 CEST 2006
Author: vincent
Date: Mon Apr 24 14:39:30 2006
New Revision: 6890
URL: http://svn.erp5.org?rev=6890&view=rev
Log:
Add buttons in form view (form-wide buttons and one for the fields in bottom group).
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/form_view.xml
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/form_view.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/form_view.xml?rev=6890&r1=6889&r2=6890&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/form_view.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_html_style/SkinTemplateItem/portal_skins/erp5_html_style/form_view.xml Mon Apr 24 14:39:30 2006
@@ -51,12 +51,17 @@
</value>
</item>
<item>
+ <key> <string>_owner</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
<key> <string>_text</string> </key>
<value> <string encoding="cdata"><![CDATA[
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"\n
- "DTD/xhtml1-strict.dtd">\n
-\n
+ "DTD/xhtml1-strict.dtd">\n
<tal:block tal:replace="nothing">\n
<!--\n
Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.\n
@@ -116,6 +121,7 @@
<tal:block metal:define-macro="form_layout">\n
<div class="Main" tal:define="field_errors python: request.get(\'field_errors\',{});\n
dummy python: request.set(\'here\',here)">\n
+ <tal:block metal:use-macro="here/form_developper_buttons/macros/form"/>\n
<tal:block tal:define="groups python: form.get_groups();\n
rows python:[];">\n
<tal:block tal:repeat="group groups">\n
@@ -148,6 +154,7 @@
<tal:block tal:condition="python: \'bottom\' in groups[row[0]].lower()">\n
<tal:block tal:repeat="cell row">\n
<tal:block tal:repeat="field python:form.get_fields_in_group(groups[cell])">\n
+ <tal:block metal:use-macro="here/form_developper_buttons/macros/field"/>\n
<tal:block tal:define="value python:request.get(field.id, None)"\n
tal:replace="structure python:field.render(value, request)" />\n
</tal:block>\n
More information about the Erp5-report
mailing list