version 1.1, 2004/02/04 10:03:33
|
version 1.5.2.2, 2008/12/17 08:02:19
|
Line 1
|
Line 1
|
<html> |
<html> |
|
<head> |
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
|
</head> |
<body> |
<body> |
<form method="POST" action="editMPIWGProject"> |
<form method="POST" action="editMPIWGProject"> |
<h2>Basis Information</h2> |
<h2>Basis Information for <span tal:replace="here/getId"/></h2> |
<table> |
<table> |
<tr> |
<tr> |
<td>Project Title</td> |
<td>Project Title</td> |
Line 9
|
Line 12
|
</tr> |
</tr> |
<tal:block tal:repeat="field here/getDataFields"> |
<tal:block tal:repeat="field here/getDataFields"> |
<tr> |
<tr> |
<td tal:content="field"/> |
<td tal:content="python:here.fieldLabels[field]"/> |
<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> |