version 1.1, 2003/10/06 23:07:35
|
version 1.6, 2004/01/29 10:19:38
|
Line 1
|
Line 1
|
<html> |
<html metal:use-macro="here/main_template/macros/page"> |
<body> |
<body metal:fill-slot="body"> |
<h2>Add a document to a collection</h2> |
<h2>Add a document to a collection</h2> |
<p>Select the collection by clicking</p> |
|
<form action="addContextData2"> |
<form action="addContextData2"> |
<div tal:replace="structure python:here.generateTree()"/> |
<table border="1"> |
|
<tr> |
|
<td valign="top"> |
|
<h3>Select the collection or subcollection</h3> |
|
<div tal:replace="structure python:here.generateTree(depth=10)"/> |
|
</td> |
|
|
|
<td valign="top"> |
|
<h3>Link</h3> |
|
<input tal:repeat="link python:here.REQUEST.SESSION['links']" type="radio" name="link" tal:attributes="value python:link[0]" tal:content="python:link[1]"/> |
<input type="hidden" name="path" tal:attributes="value python:here.REQUEST['path']"/> |
<input type="hidden" name="path" tal:attributes="value python:here.REQUEST['path']"/> |
|
|
<h3>Additional Information</h3> |
<h3>Additional Information</h3> |
Line 13
|
Line 22
|
<b> Description:</b><textarea name="description"></textarea><br> |
<b> Description:</b><textarea name="description"></textarea><br> |
<b> Content-Type: </b><input type="text" name="content_type"><br><br> |
<b> Content-Type: </b><input type="text" name="content_type"><br><br> |
<b> Responsible: </b><input type="text" name="responsible"><br><br> |
<b> Responsible: </b><input type="text" name="responsible"><br><br> |
|
<b> Weight: </b><input type="text" name="weight"><br><br> |
|
|
<h3>Scientific Information</h3> |
<h3>Scientific Information</h3> |
<b> Source-Type: </b><input type="text" name="source_type"><br> |
<b> Source-Type: </b><input type="text" name="source_type"><br> |
<b> Period: </b><input type="text" name="period"><br> |
<b> Period: </b><input type="text" name="period"><br> |
Line 22
|
Line 33
|
<b> Practice: </b><input type="text" name="practice"><br> |
<b> Practice: </b><input type="text" name="practice"><br> |
|
|
<b> Credits:</b><br> |
<b> Credits:</b><br> |
<input type="checkbox" name="credits" tal:repeat="item python:here.getPartners()" tal:attributes="value item/id" tal:content="item/title"/> |
|
<input type="submit"/> |
<div tal:omit-tag="" tal:repeat="item python:here.getPartners()"> <input type="checkbox" name="credits" tal:attributes="value item/id" tal:content="item/title"><br></div> |
|
|
|
</td> |
|
</tr> |
|
</table> |
|
<input type="submit" value="submit"/> |
</form> |
</form> |
</body> |
</body> |
</html> |
</html> |