harvester-d4science/templates/ckanext/harvest/create.html

31 lines
839 B
HTML

<?python
if c.mode == 'create':
title = 'Add harvesting source'
else:
title = 'Edit harvesting source'
?>
<html xmlns:py="http://genshi.edgewall.org/"
xmlns:i18n="http://genshi.edgewall.org/i18n"
xmlns:xi="http://www.w3.org/2001/XInclude"
py:strip="">
<py:def function="page_title">${title}</py:def>
<py:def function="optional_head">
<link type="text/css" rel="stylesheet" media="all" href="/ckanext/harvest/style.css" />
</py:def>
<div py:match="content">
<div class="harvest-content">
<py:if test="c.sources">
<h1>${title}</h1>
<form action="${c.mode}" method="POST">
${Markup(c.form)}
<input id="save" name="save" value="Save" type="submit" />
</form>
</py:if>
</div>
</div>
<xi:include href="../../layout.html" />
</html>