Commit d4a916b6 authored by Vincent Pelletier's avatar Vincent Pelletier

Solve some more casse problems when generating old-style forms.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6039 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a7b1ac9b
......@@ -15,7 +15,16 @@
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
<dictionary>
<item>
<key> <string>yo</string> </key>
<value>
<list>
<string>Owner</string>
</list>
</value>
</item>
</dictionary>
</value>
</item>
<item>
......@@ -115,7 +124,7 @@
</tal:block>\n
<tal:block tal:repeat="row rows">\n
<tal:block tal:condition="python: len(row)>0">\n
<tal:block tal:condition="python: \'bottom\' not in groups[row[0]]">\n
<tal:block tal:condition="python: \'bottom\' not in groups[row[0]].lower()">\n
<table width="100%" class="Border">\n
<tr>\n
<td tal:repeat="cell row" valign="top">\n
......@@ -128,7 +137,7 @@
</tr>\n
</table>\n
</tal:block>\n
<tal:block tal:condition="python: \'bottom\' in groups[row[0]]">\n
<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 tal:define="value python:request.get(field.id, None)"\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