Mercurial > hg > MPIWGWeb
view zpt/editHistoricalNames.zpt @ 10:c711fe75d0ac
order by weight form for MPIWGFolder. more cleanup.
author | casties |
---|---|
date | Tue, 26 Feb 2013 20:39:34 +0100 |
parents | bca61e893fcc |
children |
line wrap: on
line source
<h2> Edit historical names </h2> <tal:block tal:define="names here/nameIndexEdited/keys; dummy python:names.sort()"> <table> <tal:x tal:repeat="name names"> <form action="editNameIndex" method="post"> <tr> <td tal:content="name">NAME</td> <td> <input type="hidden" name="name" tal:attributes="value name"> <textarea cols=50 rows=5 name="occurrances" tal:content="python:'\n'.join(here.nameIndexEdited[name])">OCCURENCES</textarea> </td> <td> <a target="names" tal:attributes="href python:'misc/search/namesMentioned?name=%s'%name">Show occurances</a> </td> <td> <input type="submit" value="delete" name="submit"> <input type="submit" value="change" name="submit"> <tr> </tr> </form> </tal:x> </table> <h2>Add name</h2> <table> <form action="editNameIndex" method="post"> <tr> <td><input name="name" size=50> </td> <td> <textarea cols=50 rows=5 name="occurrances"></textarea> </td> <td> <input type="submit" value="add" name="submit"> <tr> </tr> </form> </table> <!-- Don't change from here --> </tal:block>