1: <html metal:use-macro="here/main_template/macros/page">
2: <body metal:fill-slot="body">
3: <h2>Metadata Entry</h2>
4: <form method="get" action="writeDocumentMetadata">
5: <h3>Type: <span tal:replace="here/document_type"/></h3>
6: <input type="hidden" tal:attributes="value here/document_type">
7: <table>
8: <tr tal:repeat="metaData python:here.metaDataSet">
9: <div tal:condition="python:metaData[1]=='opt'">
10: <td><i><span tal:replace="python:metaData[0]"/>(optional)</i></td><td>
11: <input tal:attributes="name python:metaData[0]"></td>
12: </div>
13:
14: <div tal:condition="not:python:metaData[1]=='opt'">
15: <td><b><span tal:replace="python:metaData[0]"/>(required)</b></td>
16: <td><input tal:attributes="name python:metaData[0]"></td>
17: </div>
18: </tr>
19: </table>
20:
21: <h3>Image</h3>
22: <table>
23: <tr tal:repeat="metaData python:here.imgData['image']">
24: <div tal:condition="python:metaData[1]=='opt'">
25: <td><i><span tal:replace="python:metaData[0]"/>(optional)</i></td><td>
26: <input tal:attributes="name python:metaData[0]"></td>
27: </div>
28:
29: <div tal:condition="not:python:metaData[1]=='opt'">
30: <td><b><span tal:replace="python:metaData[0]"/>(required)</b></td>
31: <td><input tal:attributes="name python:metaData[0]"></td>
32: </div>
33: </tr>
34: </table>
35:
36:
37: <h3>Prelimiminary Metadata</h3>
38: <select name="referenceType">
39: <option tal:repeat="referenceType here/referenceTypes" tal:attributes="value referenceType" tal:content="referenceType"/>
40: </select>
41:
42: <input type="submit">
43: </form>
44: </body>
45: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>