1: <html>
2: <head>
3: <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
4: </head>
5: <body>
6: <form method="POST" action="editMPIWGProject">
7: <h2>Basis Information for <span tal:replace="here/getId"/></h2>
8: <table>
9: <tr>
10: <td>Project Title</td>
11: <td><input tal:attributes="name python:'WEB_title'; value python:here.getContent('WEB_title')" size=100/></td>
12: </tr>
13: <tal:block tal:repeat="field here/getDataFields">
14: <tr>
15: <td tal:content="python:here.fieldLabels[field]"/>
16: <td> <input tal:attributes="name field; value python:here.getContent(field)" size=100/></td>
17: </tr>
18: <tr tal:condition="python:here.isCheckField(field)">
19: <td colspan=2 height="20">
20: <tal:block tal:define="checkList python:here.giveCheckList(here,field)">
21: <tal:block repeat="item checkList/keys">
22: <span tal:replace="item"/>:
23: <tal:block tal:condition="python:len(checkList[item])>0">
24: found
25: </tal:block>
26: <tal:block tal:condition="not:python:len(checkList[item])>0">
27: <font color="#ff0000">not found</font>
28: </tal:block>
29:
30:
31: <!--<input tal:repeat="prop python:checkList[item]"
32: type="radio"
33: tal:attributes="name python:'val_%s'%field; value python:prop[0].getId()"
34: tal:content="python:prop[1]"/>-->
35: </tal:block>
36: <br>
37: </tal:block>
38: </td>
39: </tr>
40: </tal:block>
41: </table>
42:
43:
44: <input type="submit">
45: </form>
46: </body>
47: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>