comparison zpt/rearrangePersons.zpt @ 7:e21db3150dae

manage persons
author dwinter
date Wed, 21 Dec 2011 22:11:16 +0100
parents
children 3a5a7c2552c8
comparison
equal deleted inserted replaced
6:fcab446bca79 7:e21db3150dae
1 <html>
2 <body tal:define="global i python:-1">
3 <h1>Unify persons</h1>
4 <form method="post" action="rearangePersonIDs">
5 <table>
6 <tr><td>Nr.</td><td>saved ID</td><td>Name</td><td>New ID</td><td>Unify?</td>
7 </tr>
8 <tr tal:repeat="item python:options['changeList']" >
9 <td tal:define="global i python:i+1" tal:content="python:i"/>
10 <td><a tal:attributes="href python:item[0]" tal:content="python:item[0]"/></td>
11 <td tal:content="python:item[1]"/>
12 <td><a tal:attributes="href python:item[2]">see</a><input size="100" tal:attributes="name python:'newID_'+str(i);
13 value python:item[2]"/></td>
14 <td><input type="checkbox" name="changes" tal:attributes="value python:i"/>
15 <td><a tal:attributes="href python:options['lookupUrl']">look up</a></td>
16 </tr>
17 </table>
18 <input type="submit"/>
19 </form>
20 </body>
21 </html>