comparison zpt/rearrangePersons.zpt @ 8:3a5a7c2552c8

edit
author dwinter
date Mon, 02 Jan 2012 12:52:12 +0100
parents e21db3150dae
children
comparison
equal deleted inserted replaced
7:e21db3150dae 8:3a5a7c2552c8
1 <html> 1 <html>
2 <body tal:define="global i python:-1"> 2 <body tal:define="global i python:-1">
3 <h1>Unify persons</h1> 3 <h1>Edit Persons</h1>
4 <form method="post" action="rearangePersonIDs"> 4 <form method="post" action="rearangePersonIDs">
5 <table> 5 <table>
6 <tr><td>Nr.</td><td>saved ID</td><td>Name</td><td>New ID</td><td>Unify?</td> 6 <tr><td>Nr.</td><td>saved ID</td><td>Name</td><td>New ID</td><td>Unify?</td>
7 </tr> 7 </tr>
8 <tr tal:repeat="item python:options['changeList']" > 8 <tr tal:repeat="item python:options['changeList']" >
9 <td tal:define="global i python:i+1" tal:content="python:i"/> 9 <td tal:define="global i python:i+1" tal:content="python:i"/>
10 <td><a tal:attributes="href python:options['editURL']+item[0]">edit</a></td>
10 <td><a tal:attributes="href python:item[0]" tal:content="python:item[0]"/></td> 11 <td><a tal:attributes="href python:item[0]" tal:content="python:item[0]"/></td>
11 <td tal:content="python:item[1]"/> 12 <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 <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 value python:item[2]"/></td>
14 <td><input type="checkbox" name="changes" tal:attributes="value python:i"/> 15 <td><input type="checkbox" name="changes" tal:attributes="value python:i"/>