Commit ef79aa32 authored by Vincent Pelletier's avatar Vincent Pelletier

Add developper buttons in form_dialog.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6892 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c92b84dc
...@@ -88,6 +88,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n ...@@ -88,6 +88,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
<tal:block metal:use-macro="python:getattr(here,layout_id).macros[\'master\']">\n <tal:block metal:use-macro="python:getattr(here,layout_id).macros[\'master\']">\n
<tal:block metal:fill-slot="main">\n <tal:block metal:fill-slot="main">\n
<div class="Search">\n <div class="Search">\n
<tal:block metal:use-macro="here/form_developper_buttons/macros/form"/>\n
<span tal:define="groups python: form.get_groups(include_empty=1);\n <span tal:define="groups python: form.get_groups(include_empty=1);\n
field_errors python: request.get(\'field_errors\',{});\n field_errors python: request.get(\'field_errors\',{});\n
params python: here.portal_selections.getSelectionParams(selection_name, REQUEST=request);\n params python: here.portal_selections.getSelectionParams(selection_name, REQUEST=request);\n
...@@ -163,6 +164,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n ...@@ -163,6 +164,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
</td>\n </td>\n
<td tal:define="field_key python:field.id.startswith(\'my_\') and field.id[3:] or field.id;\n <td tal:define="field_key python:field.id.startswith(\'my_\') and field.id[3:] or field.id;\n
value python:field.get_value(\'default\') or request.get(field_key, params.get(field_key,None))">\n value python:field.get_value(\'default\') or request.get(field_key, params.get(field_key,None))">\n
<tal:block metal:use-macro="here/form_developper_buttons/macros/field"/>\n
<span tal:replace="structure python:field.render(value,request)" />\n <span tal:replace="structure python:field.render(value,request)" />\n
</td>\n </td>\n
</tr>\n </tr>\n
...@@ -207,6 +209,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n ...@@ -207,6 +209,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
</td>\n </td>\n
<td tal:define="field_key python:field.id.startswith(\'my_\') and field.id[3:] or field.id;\n <td tal:define="field_key python:field.id.startswith(\'my_\') and field.id[3:] or field.id;\n
value python:field.get_value(\'default\') or request.get(field_key, params.get(field_key,None))">\n value python:field.get_value(\'default\') or request.get(field_key, params.get(field_key,None))">\n
<tal:block metal:use-macro="here/form_developper_buttons/macros/field"/>\n
<span tal:replace="structure python:field.render(value,request)" />\n <span tal:replace="structure python:field.render(value,request)" />\n
</td>\n </td>\n
</tr>\n </tr>\n
...@@ -257,6 +260,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n ...@@ -257,6 +260,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
<tr>\n <tr>\n
<td tal:define="field_key python:field.id.startswith(\'my_\') and field.id[3:] or field.id;\n <td tal:define="field_key python:field.id.startswith(\'my_\') and field.id[3:] or field.id;\n
value python:field.get_value(\'default\') or request.get(field_key, params.get(field_key,None))">\n value python:field.get_value(\'default\') or request.get(field_key, params.get(field_key,None))">\n
<tal:block metal:use-macro="here/form_developper_buttons/macros/field"/>\n
<span tal:replace="structure python:field.render(value,request)"/>\n <span tal:replace="structure python:field.render(value,request)"/>\n
</td>\n </td>\n
</tr>\n </tr>\n
...@@ -299,10 +303,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n ...@@ -299,10 +303,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>form_dialog</string> </value> <value> <string>form_dialog</string> </value>
</item> </item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment