Mercurial > hg > MPIWGWeb
diff zpt/edit_MPIWGKeywords.zpt @ 0:bca61e893fcc
first checkin of MPIWGWeb r2 branch from CVS into mercurial
author | casties |
---|---|
date | Thu, 10 Jan 2013 17:52:13 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/zpt/edit_MPIWGKeywords.zpt Thu Jan 10 17:52:13 2013 +0100 @@ -0,0 +1,44 @@ +<html> +<body> +<form method="POST" action="editMPIWGProject"> +<h2>Basis Information</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="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>