Mercurial > hg > MPIWGWeb
view zpt/editBibliographyEntry.zpt @ 27:9a75eb1b31b3
more work on projects.
author | casties |
---|---|
date | Mon, 22 Apr 2013 21:01:00 +0200 |
parents | bca61e893fcc |
children |
line wrap: on
line source
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html metal:use-macro="here/mainEditFile/macros/page"> <body> <tal:block metal:fill-slot="navsel" tal:define="global menusel string:publications" /> <tal:block metal:fill-slot="body"> <tal:block tal:define="found python:here.ZSQLInlineSearchU(_table='bibliography',id=here.REQUEST['id']); mapping python:here.metadata.main.meta.bib.generateMappingForType(type=found.reference_type)"> <h3>Edit a separate publication</h3> <form action="ZSQLChange" method="get"> <input type="hidden" name="-format" value="editPublications"> <input type="hidden" name="-identify" tal:attributes="value python:'oid='+str(found.oid)"> <input type="hidden" name="-table" value="bibliography"> <table> <tal:block tal:repeat="mapElement python:mapping.keys()"> <tr tal:condition="python:mapping[mapElement][1]!=''"> <td tal:content="python:mapping[mapElement][1].encode('utf-8')"/> <td><input size="80" tal:attributes="value python:getattr(found,mapElement); name mapElement" /> </tr> </tal:block> </table> <input type="submit" value="change" /> </form> <h3><a href="editPublications">Back to publication list</a></h3> </tal:block> </tal:block> </body> </html>