version 1.1, 2004/11/29 09:48:07
|
version 1.2, 2005/03/03 20:41:00
|
Line 21
|
Line 21
|
<td> |
<td> |
<b>Explanation</b> |
<b>Explanation</b> |
</td> |
</td> |
|
<td> |
|
<b>Optional</b> |
|
</td> |
|
<td> |
|
<b>Required</b> |
|
</td> |
|
<td> |
|
<b>Valuelist</b> |
|
</td> |
|
|
</tr> |
</tr> |
<span tal:omit-tag="" tal:repeat="field here/fieldList"> |
<span tal:omit-tag="" tal:repeat="field here/fieldList"> |
<tr tal:define="value python:here.getValue(field); name field"> |
<tr tal:define="value python:here.getValue(field); name field"> |
Line 36
|
Line 46
|
<td valign="top"> |
<td valign="top"> |
<textarea rows="10" cols="40" tal:attributes="name python:'explanation_'+field" tal:content="python:value[2]" size=20></textarea> |
<textarea rows="10" cols="40" tal:attributes="name python:'explanation_'+field" tal:content="python:value[2]" size=20></textarea> |
</td> |
</td> |
|
<tal:block tal:condition="python:value[3]=='optional'"> |
|
<td valign="top"> |
|
<input type="radio" tal:attributes="name python:'status_'+field" value="optional" checked> |
|
</td> |
|
<td valign="top"> |
|
<input type="radio" tal:attributes="name python:'status_'+field" value="required"> |
|
</td> |
|
</tal:block> |
|
<tal:block tal:condition="not:python:value[3]=='optional'"> |
|
<td valign="top"> |
|
<input type="radio" tal:attributes="name python:'status_'+field" value="optional"> |
|
</td> |
|
<td valign="top"> |
|
<input type="radio" tal:attributes="name python:'status_'+field" value="required" checked> |
|
</td> |
|
</tal:block> |
|
|
|
<td valign="top"> |
|
<textarea rows="10" cols="15" tal:attributes="name python:'values_'+field" size=20 tal:content="python:value[4]"></textarea> |
|
</td> |
</tr> |
</tr> |
</span> |
</span> |
</table> |
</table> |