view zpt/newBibliographyEntry.zpt @ 44:05754bca0114

updated project not current warning.
author casties
date Sun, 28 Apr 2013 19:12:49 +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:define="mapping python:here.metadata.main.meta.bib.generateMappingForType(type=here.REQUEST['_docType'])">
	<h3>Add a separate publication</h3>	
	<p>Type: <b tal:content="python:here.REQUEST['_docType']"/></p>
	<form action="" method="get">
	<input type="hidden" name="-format" value="editPublications">
	<input type="hidden" name="-table" value="bibliography">
	<input type="hidden" name="_docType" tal:attributes="value here/REQUEST/_docType">
	<input type="hidden" name="_addEntry" value="yes">
	<table>
		<tal:block tal:repeat="mapElement python:here.metadata.main.meta.bib.getFields()">
		<tr tal:condition="python:mapping[mapElement][1]!=''">
			<td tal:content="python:mapping[mapElement][1].encode('utf-8')"/>
			
			<td>
			<input size="80" tal:attributes="name mapElement"/>
		</tr>
		</tal:block>
	</table>
	<input type="submit" value="add"/>
  </form>
  </tal:block>
</body>
</html>