Mercurial > hg > MPIWGThesaurus
diff zpt/rearrangePersons.zpt @ 7:e21db3150dae
manage persons
author | dwinter |
---|---|
date | Wed, 21 Dec 2011 22:11:16 +0100 |
parents | |
children | 3a5a7c2552c8 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/zpt/rearrangePersons.zpt Wed Dec 21 22:11:16 2011 +0100 @@ -0,0 +1,21 @@ +<html> +<body tal:define="global i python:-1"> +<h1>Unify persons</h1> +<form method="post" action="rearangePersonIDs"> +<table> +<tr><td>Nr.</td><td>saved ID</td><td>Name</td><td>New ID</td><td>Unify?</td> +</tr> +<tr tal:repeat="item python:options['changeList']" > +<td tal:define="global i python:i+1" tal:content="python:i"/> +<td><a tal:attributes="href python:item[0]" tal:content="python:item[0]"/></td> +<td tal:content="python:item[1]"/> +<td><a tal:attributes="href python:item[2]">see</a><input size="100" tal:attributes="name python:'newID_'+str(i); +value python:item[2]"/></td> +<td><input type="checkbox" name="changes" tal:attributes="value python:i"/> +<td><a tal:attributes="href python:options['lookupUrl']">look up</a></td> +</tr> +</table> +<input type="submit"/> +</form> +</body> +</html> \ No newline at end of file