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

29 lines
789 B
HTML
Raw Normal View History

2011-03-11 14:42:21 +01:00
<?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="">
2011-03-11 14:42:21 +01:00
<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">
2011-03-11 14:42:21 +01:00
<h1>${title}</h1>
<form action="${c.mode}" method="POST">
${Markup(c.form)}
<input id="save" name="save" value="Save" type="submit" />
</form>
</div>
</div>
<xi:include href="../../layout.html" />
</html>