version 1.1.2.9, 2008/06/18 11:29:26
|
version 1.1.2.10, 2008/06/24 07:55:05
|
Line 72
|
Line 72
|
</tal:x> |
</tal:x> |
</tr> |
</tr> |
</table> |
</table> |
|
|
|
|
|
<h2>Names</h2> |
|
<table tal:define="global count python:0"> |
|
|
|
<tr tal:repeat="identifiedName python:options.get('identifiedNames',{}).items()"> |
|
<tal:x tal:define="global count python:count+1"/> |
|
<td><input type="hidden" tal:attributes="value python:identifiedName[0]; |
|
name python:'responsibleScientist_name_%s'%count"/> |
|
<span tal:replace="python:identifiedName[0]"/></td> |
|
<td> |
|
<table> |
|
<tr tal:repeat="member python:identifiedName[1]"> |
|
<tal:y define="memberObj member/getObject"> |
|
<td tal:content="python:memberObj.getKey()"/> |
|
<td tal:content="python:memberObj.getId()"/> |
|
<tal:x condition="python:here.isResponsibleScientist(memberObj.getKey())"> |
|
<td><input type="checkbox" tal:attributes="name python:'responsibleScientist_key_%s'%count; |
|
value memberObj/getKey" |
|
checked/></td> |
|
|
|
</tal:x> |
|
<tal:x condition="not:python:here.isResponsibleScientist(memberObj.getKey())"> |
|
<td><input type="checkbox" tal:attributes="name python:'responsibleScientist_key_%s'%count; |
|
value memberObj/getKey" |
|
/></td> |
|
|
|
</tal:x> |
|
|
|
</tal:y> |
|
</tr> |
|
</table> |
|
|
|
</td> |
|
</tr> |
|
|
|
</table> |
<p><input type="submit" value="change"/></p> |
<p><input type="submit" value="change"/></p> |
</form> |
</form> |
|
|
</tal:block> |
</tal:block> |
</body> |
</body> |
</html> |
</html> |