<html>
<body>
<h2>Change collection</h2>
<form name="form" action="changeECHO_Collection">
<table>
<tr><td><b> ID: </b></td><td><input type="text" name="id" tal:attributes="value here/id"></td></tr>
<tr><td><b> Title: </b></td><td><input type="text" name="title" tal:attributes="value here/title"></td></tr>
<tr><td><b> Label: </b></td><td><input type="text" name="label" tal:attributes="value here/label"></td></tr>
<tr><td><b> Weight for sorting: </b></td><td><input type="text" name="weight" tal:attributes="value here/weight"></td></tr>
<tr><td><b> Description:</b></td><td><textarea name="description" cols=80 rows=40 tal:content="here/description"></textarea></td></tr>
<tr><td><b> Sortfield: </b></td><td><input type="text" name="sortfield" tal:attributes="value here/sortfield"></td></tr>
<tr><td><b> Content-Type: </b></td><td><input type="text" name="content_type" tal:attributes="value here/content_type"></td></tr>
<tr><td><b> Responsible: </b></td><td><input type="text" name="responsible" tal:attributes="value here/responsible"></td></tr>
</table>
<h3>Scientific Information</h3>
<table>
<tr><td><b> Source-Type: </b></td><td><input type="text" name="source_type" tal:attributes="value python:here.scientific_Information.source_type"></td></tr>
<tr><td><b> Period: </b></td><td><input type="text" name="period" tal:attributes="value here/scientific_Information/get_period"></td></tr>
</table>
<h4>Classification</h4>
<table>
<tr><td><b> Context: </b></td><td><input type="text" name="context" tal:attributes="value python:here.scientific_Information.scientific_Classification.get_context()"></td></tr>
<tr><td><b> Science: </b></td><td><input type="text" name="science" tal:attributes="value python:here.scientific_Information.scientific_Classification.get_science()"></td></tr>
<tr><td><b> Practice: </b></td><td><input type="text" name="practice" tal:attributes="value python:here.scientific_Information.scientific_Classification.get_practice()"></td></tr>
</table>
<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>
<h3> Credits:</h3>
<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="Add"><br><br>
</form>
</body>
</html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>