Mercurial > hg > MPIWGWeb
view zpt/edit_MPIWGBasis.zpt @ 37:9b38ba45773b
?berarbeitung MPIWGStaff
neue editfunktionen
author | dwinter |
---|---|
date | Fri, 26 Apr 2013 17:19:08 +0200 |
parents | bca61e893fcc |
children |
line wrap: on
line source
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head> <body> <form method="POST" action="editMPIWGProject"> <h2>Basis Information for <span tal:replace="here/getId"/></h2> <table> <tr> <td>Project Title</td> <td><input tal:attributes="name python:'WEB_title'; value python:here.getContent('WEB_title')" size=100/></td> </tr> <tal:block tal:repeat="field here/getDataFields"> <tr> <td tal:content="python:here.fieldLabels[field]"/> <td> <input tal:attributes="name field; value python:here.getContent(field)" size=100/></td> </tr> <tr tal:condition="python:here.isCheckField(field)"> <td colspan=2 height="20"> <tal:block tal:define="checkList python:here.giveCheckList(here,field)"> <tal:block repeat="item checkList/keys"> <span tal:replace="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" tal:attributes="name python:'val_%s'%field; value python:prop[0].getId()" tal:content="python:prop[1]"/>--> </tal:block> <br> </tal:block> </td> </tr> </tal:block> </table> <input type="submit"> </form> </body> </html>