1: <html metal:use-macro="here/main_template/macros/page">
2: <body metal:fill-slot="body">
3: <h2>Add a document to a collection</h2>
4:
5: <form action="addContextData2">
6: <table border="1">
7: <tr>
8: <td valign="top">
9: <h3>Select the collection or subcollection</h3>
10: <div tal:replace="structure python:here.generateTree(depth=10)"/>
11: </td>
12:
13: <td valign="top">
14: <h3>Link</h3>
15: <input tal:repeat="link python:here.REQUEST.SESSION['links']" type="radio" name="link" tal:attributes="value python:link[0]" tal:content="python:link[1]"/>
16: <input type="hidden" name="path" tal:attributes="value python:here.REQUEST['path']"/>
17:
18: <h3>Additional Information</h3>
19:
20: <b> Label: </b><input type="text" name="label"><br>
21:
22: <b> Description:</b><textarea name="description"></textarea><br>
23: <b> Content-Type: </b><input type="text" name="content_type"><br><br>
24: <b> Responsible: </b><input type="text" name="responsible"><br><br>
25: <h3>Scientific Information</h3>
26: <b> Source-Type: </b><input type="text" name="source_type"><br>
27: <b> Period: </b><input type="text" name="period"><br>
28: <h4>Classification</h4>
29: <b> Context: </b><input type="text" name="context"><br>
30: <b> Science: </b><input type="text" name="science"><br>
31: <b> Practice: </b><input type="text" name="practice"><br>
32:
33: <b> Credits:</b><br>
34: <input type="checkbox" name="credits" tal:repeat="item python:here.getPartners()" tal:attributes="value item/id" tal:content="item/title"/>
35:
36: </td>
37: </tr>
38: </table>
39: <input type="submit" value="submit"/>
40: </form>
41: </body>
42: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>