Commit 26b7b6cc authored by Vincent Pelletier's avatar Vincent Pelletier

Add developper button in field_render.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6894 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ff897cfc
...@@ -59,17 +59,20 @@ ...@@ -59,17 +59,20 @@
<tal:block tal:define="html_render python: field.render_htmlgrid(value, request)">\n <tal:block tal:define="html_render python: field.render_htmlgrid(value, request)">\n
<tal:block tal:condition="python:field.meta_type != \'HiddenStringField\'">\n <tal:block tal:condition="python:field.meta_type != \'HiddenStringField\'">\n
<tal:repeat repeat="html_tuple html_render">\n <tal:repeat repeat="html_tuple html_render">\n
<tr>\n <tr tal:attributes="title python: context.Base_getFieldDescription(field)" i18n:translate="title" i18n:domain="ui">\n
<td tal:content="structure python: html_tuple[0]"\n <td tal:content="structure python: html_tuple[0]"\n
tal:attributes="class python: \n tal:attributes="class python: \n
{0: {0: None, 1: \'required\'},\n {0: {0: None, 1: \'required\'},\n
1: {0: \'error\', 1: \'reqerror\'}}[field_errors.has_key(field.id)][field.is_required()]"\n 1: {0: \'error\', 1: \'reqerror\'}}[field_errors.has_key(field.id)][field.is_required()]"\n
i18n:translate="" i18n:domain="ui" />\n i18n:translate="" i18n:domain="ui">\n
</td>\n
<td>\n
<tal:block metal:use-macro="context/form_developper_buttons/macros/field"/>\n
</td>\n
<td>\n <td>\n
<tal:block tal:replace="structure python: html_tuple[1]" />\n <tal:block tal:replace="structure python: html_tuple[1]" />\n
</td>\n </td>\n
</tr>\n </tr>\n
\n
</tal:repeat>\n </tal:repeat>\n
</tal:block>\n </tal:block>\n
<tr tal:condition="python: field_errors.has_key(field.id)">\n <tr tal:condition="python: field_errors.has_key(field.id)">\n
......
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