version 1.1, 2004/02/04 10:03:33
|
version 1.2, 2004/02/04 18:01:45
|
Line 13
|
Line 13
|
<td> <input tal:attributes="name field; value python:here.getContent(field)" size=100/></td> |
<td> <input tal:attributes="name field; value python:here.getContent(field)" size=100/></td> |
</tr> |
</tr> |
<tr tal:condition="python:here.isCheckField(field)"> |
<tr tal:condition="python:here.isCheckField(field)"> |
<td colspan=2> |
<td colspan=2 height="20"> |
<tal:block tal:define="checkList python:here.giveCheckList(here,field)"> |
<tal:block tal:define="checkList python:here.giveCheckList(here,field)"> |
<tal:block repeat="item checkList/keys"> |
<tal:block repeat="item checkList/keys"> |
<span tal:replace="item"/>: |
<span tal:replace="item"/>: |
<input tal:repeat="prop python:checkList[item]" |
<tal:block tal:condition="python:len(checkList[item])>0"> |
|
found |
|
</tal:block> |
|
<tal:block tal:condition="not:python:len(checkList[item])>0"> |
|
<font color="#ff0000">not found</font> |
|
</tal:block> |
|
|
|
|
|
<!--<input tal:repeat="prop python:checkList[item]" |
type="radio" |
type="radio" |
tal:attributes="name python:'val_%s'%field; value python:prop[0].getId()" |
tal:attributes="name python:'val_%s'%field; value python:prop[0].getId()" |
tal:content="python:prop[1]"/> |
tal:content="python:prop[1]"/>--> |
</tal:block> |
</tal:block> |
<br> |
<br> |
</tal:block> |
</tal:block> |