File:  [Repository] / MPIWGWeb / zpt / edit_MPIWGBasis.zpt
Revision 1.3: download - view: text, annotated - select for diffs - revision graph
Mon Feb 9 08:57:27 2004 UTC (20 years, 4 months ago) by dwinter
Branches: MAIN
CVS tags: HEAD
new name recognition

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>