Annotation of MPIWGWeb/zpt/edit_MPIWGBasis.zpt, revision 1.5
1.4 dwinter 1: <html>
1.5 ! dwinter 2: <head>
! 3: <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
! 4: </head>
1.1 dwinter 5: <body>
6: <form method="POST" action="editMPIWGProject">
1.5 ! dwinter 7: <h2>Basis Information for <span tal:replace="here/getId"/></h2>
1.1 dwinter 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>
1.5 ! dwinter 15: <td tal:content="python:here.fieldLabels[field]"/>
1.1 dwinter 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)">
1.2 dwinter 19: <td colspan=2 height="20">
1.1 dwinter 20: <tal:block tal:define="checkList python:here.giveCheckList(here,field)">
21: <tal:block repeat="item checkList/keys">
22: <span tal:replace="item"/>:
1.2 dwinter 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]"
1.1 dwinter 32: type="radio"
33: tal:attributes="name python:'val_%s'%field; value python:prop[0].getId()"
1.2 dwinter 34: tal:content="python:prop[1]"/>-->
1.1 dwinter 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>