Commit b37eb99e authored by Kevin Deldycke's avatar Kevin Deldycke

Reduce tag numbers

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7458 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ec7feafd
...@@ -116,36 +116,29 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n ...@@ -116,36 +116,29 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
tal:condition="python: field_errors.has_key(field.id)\n tal:condition="python: field_errors.has_key(field.id)\n
and not field.is_required()"\n and not field.is_required()"\n
i18n:translate="" i18n:domain="ui"\n i18n:translate="" i18n:domain="ui"\n
class="error">\n class="error"/>\n
</td>\n
<td tal:content="structure field/title"\n <td tal:content="structure field/title"\n
tal:condition="python: (not field_errors.has_key(field.id))\n tal:condition="python: (not field_errors.has_key(field.id))\n
and not field.is_required()"\n and not field.is_required()"\n
i18n:translate="" i18n:domain="ui">\n i18n:translate="" i18n:domain="ui"/>\n
</td>\n
<td tal:content="structure field/title"\n <td tal:content="structure field/title"\n
tal:condition="python: field_errors.has_key(field.id)\n tal:condition="python: field_errors.has_key(field.id)\n
and field.is_required()"\n and field.is_required()"\n
i18n:translate="" i18n:domain="ui"\n i18n:translate="" i18n:domain="ui"\n
class="reqerror">\n class="reqerror"/>\n
</td>\n
<td tal:content="structure field/title"\n <td tal:content="structure field/title"\n
tal:condition="python: (not field_errors.has_key(field.id))\n tal:condition="python: (not field_errors.has_key(field.id))\n
and field.is_required()"\n and field.is_required()"\n
i18n:translate="" i18n:domain="ui"\n i18n:translate="" i18n:domain="ui"\n
class="required">\n class="required"/>\n
</td>\n <td tal:define="value python:request.get(field.id,None)"\n
<td tal:define="value python:request.get(field.id,None)">\n tal:content="structure python:field.render(value,request)"/>\n
<span tal:replace="structure python:field.render(value,request)" />\n
</td>\n
</tr>\n </tr>\n
<tr tal:condition="python: field_errors.has_key(field.id)">\n <tr tal:condition="python: field_errors.has_key(field.id)">\n
<td>\n <td></td>\n
</td>\n
<td tal:content="python:field_errors[field.id].error_text"\n <td tal:content="python:field_errors[field.id].error_text"\n
i18n:translate="" i18n:domain="ui"\n i18n:translate="" i18n:domain="ui"\n
class="error">\n class="error"/>\n
</td>\n
</tr>\n </tr>\n
</tal:block>\n </tal:block>\n
</table>\n </table>\n
...@@ -158,36 +151,30 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n ...@@ -158,36 +151,30 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
tal:condition="python: field_errors.has_key(field.id)\n tal:condition="python: field_errors.has_key(field.id)\n
and not field.is_required()"\n and not field.is_required()"\n
i18n:translate="" i18n:domain="ui"\n i18n:translate="" i18n:domain="ui"\n
class="error">\n class="error"/>\n
</td>\n
<td tal:content="structure field/title"\n <td tal:content="structure field/title"\n
tal:condition="python: (not field_errors.has_key(field.id))\n tal:condition="python: (not field_errors.has_key(field.id))\n
and not field.is_required()"\n and not field.is_required()"\n
i18n:translate="" i18n:domain="ui">\n i18n:translate="" i18n:domain="ui"/>\n
</td>\n
<td tal:content="structure field/title"\n <td tal:content="structure field/title"\n
tal:condition="python: field_errors.has_key(field.id)\n tal:condition="python: field_errors.has_key(field.id)\n
and field.is_required()"\n and field.is_required()"\n
i18n:translate="" i18n:domain="ui"\n i18n:translate="" i18n:domain="ui"\n
class="reqerror">\n class="reqerror"/>\n
</td>\n
<td tal:content="structure field/title"\n <td tal:content="structure field/title"\n
tal:condition="python: (not field_errors.has_key(field.id))\n tal:condition="python: (not field_errors.has_key(field.id))\n
and field.is_required()"\n and field.is_required()"\n
i18n:translate="" i18n:domain="ui"\n i18n:translate="" i18n:domain="ui"\n
class="required">\n class="required"/>\n
</td>\n <td tal:define="value python:request.get(field.id,None)"\n
<td tal:define="value python:request.get(field.id,None)">\n tal:content="structure python:field.render(value,request)"/>\n
<tal:block tal:replace="structure python:field.render(value,request)" />\n
</td>\n
</tr>\n </tr>\n
<tr tal:condition="python: field_errors.has_key(field.id)">\n <tr tal:condition="python: field_errors.has_key(field.id)">\n
<td>\n <td>\n
</td>\n </td>\n
<td tal:content="python: field_errors[field.id].error_text"\n <td tal:content="python: field_errors[field.id].error_text"\n
i18n:translate="" i18n:domain="ui"\n i18n:translate="" i18n:domain="ui"\n
class="error">\n class="error"/>\n
</td>\n
</tr>\n </tr>\n
</tal:block>\n </tal:block>\n
</table>\n </table>\n
...@@ -200,36 +187,30 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n ...@@ -200,36 +187,30 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n
<tr tal:condition="python:field.meta_type != \'HiddenStringField\'">\n <tr tal:condition="python:field.meta_type != \'HiddenStringField\'">\n
<td tal:content="structure field/title"\n <td tal:content="structure field/title"\n
tal:condition="python: field_errors.has_key(field.id)\n tal:condition="python: field_errors.has_key(field.id)\n
and not field.is_required()"\n and not field.is_required()"\n
i18n:translate="" i18n:domain="ui"\n i18n:translate="" i18n:domain="ui"\n
class="error">\n class="error"/>\n
</td>\n
<td tal:content="structure field/title"\n <td tal:content="structure field/title"\n
tal:condition="python: (not field_errors.has_key(field.id))\n tal:condition="python: (not field_errors.has_key(field.id))\n
and not field.is_required()"\n and not field.is_required()"\n
i18n:translate="" i18n:domain="ui">\n i18n:translate="" i18n:domain="ui"/>\n
</td>\n
<td tal:content="structure field/title"\n <td tal:content="structure field/title"\n
tal:condition="python: field_errors.has_key(field.id)\n tal:condition="python: field_errors.has_key(field.id)\n
and field.is_required()"\n and field.is_required()"\n
i18n:translate="" i18n:domain="ui"\n i18n:translate="" i18n:domain="ui"\n
class="reqerror">\n class="reqerror"/>\n
</td>\n
<td tal:content="structure field/title"\n <td tal:content="structure field/title"\n
tal:condition="python: (not field_errors.has_key(field.id))\n tal:condition="python: (not field_errors.has_key(field.id))\n
and field.is_required()"\n and field.is_required()"\n
i18n:translate="" i18n:domain="ui"\n i18n:translate="" i18n:domain="ui"\n
class="required">\n class="required"/>\n
</td>\n <td tal:define="value python:request.get(field.id,None)"\n
<td tal:define="value python:request.get(field.id,None)">\n tal:content="structure python:field.render(value,request)"/>\n
<tal:block tal:replace="structure python:field.render(value,request)"/>\n
</td>\n
</tr>\n </tr>\n
<tr tal:condition="python: field_errors.has_key(field.id)">\n <tr tal:condition="python: field_errors.has_key(field.id)">\n
<td tal:content="python: field_errors[field.id].error_text"\n <td tal:content="python: field_errors[field.id].error_text"\n
i18n:translate="" i18n:domain="ui"\n i18n:translate="" i18n:domain="ui"\n
class="error">\n class="error"/>\n
</td>\n
</tr>\n </tr>\n
</tal:block>\n </tal:block>\n
</table>\n </table>\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