<html>
<body>
<h2>Change collection</h2>
<form name="form" action="changeECHO_resource">
<b> Title: </b><input type="text" name="title" tal:attributes="value here/title"><br>
<b> Label: </b><input type="text" name="label" tal:attributes="value here/label"><br>
<b> Link: </b><input type="text" name="link" tal:attributes="value here/link"><br>
<b> MetaLink: </b><input type="text" name="metalink" tal:attributes="value here/metalink"><br>
<b> Weight </b><input type="text" name="weight" tal:attributes="value here/weight"><br>
<b> Description:</b><textarea name="description" tal:content="here/description"></textarea><br>
<b> Content-Type: </b><input type="text" name="content_type" tal:attributes="value here/content_type"><br><br>
<b> Responsible: </b><input type="text" name="responsible" tal:attributes="value here/responsible"><br><br>
<h3>Scientific Information</h3>
<b> Source-Type: </b><input type="text" name="source_type" tal:attributes="value python:here.scientific_Information.source_type"><br>
<b> Period: </b><input type="text" name="period" tal:attributes="value here/scientific_Information/get_period"><br>
<h4>Classification</h4>
<b> Context: </b><input type="text" name="context" tal:attributes="value python:here.scientific_Information.scientific_Classification.get_context()"><br>
<b> Science: </b><input type="text" name="science" tal:attributes="value python:here.scientific_Information.scientific_Classification.get_science()"><br>
<b> Practice: </b><input type="text" name="practice" tal:attributes="value python:here.scientific_Information.scientific_Classification.get_practice()"><br>
<h4>Coords</h4>
<table>
<tr tal:repeat="coord python:here.getCoords()"><td><b> Coords: </b></td><td><input type="text" name="coords" tal:attributes="value coord"></td></tr>
</table>
<b> Credits:</b><br>
<div tal:repeat="item here/partners/getPartners">
<div tal:condition="python:item.getId() in here.credits">
<input type="checkbox" name="credits" tal:attributes="value item/id" tal:content="item/title" checked/>
</div>
<div tal:condition="not:python:item.getId() in here.credits">
<input type="checkbox" name="credits" tal:attributes="value item/id" tal:content="item/title"/>
</div>
</div>
<input type="submit" value="Change"><br><br>
</form>
</body>
</html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>