1: <html>
2: <body>
3: <form name="form" action="changeMetadataMapping" method="post">
4: <b> Title (=Reference Type): </b><input type="text" name="titleOfObject" tal:attributes="value here/title"><br><br>
5: <ul>
6: <li> <b>Tag-Name:</b> Should be lower case only, must only contain letters A-z, Numbers or _ (author, number_of_pages, ...)
7: <li> <b>Label: </b> Human readable name for displaying purposes (Author, Number of Pages, ...)
8: <li> <b>Explanation:</b> Should contain a help text, what and how to enter in this field. Can contain HTML tags.
9: </ul>
10: <table border=1>
11: <tr>
12: <td>
13: Generic Name
14: </td>
15: <td>
16: <b>Tag-Name</b>
17: </td>
18: <td>
19: <b>Label</b>
20: </td>
21: <td>
22: <b>Explanation</b>
23: </td>
24: </tr>
25: <span tal:omit-tag="" tal:repeat="field here/fieldList">
26: <tr tal:define="value python:here.getValue(field); name field">
27: <td valign="top">
28: <b tal:content="field"/>
29: </td>
30: <td valign="top">
31: <input type="text" tal:attributes="name field;value python:value[0]" size=20>
32: </td>
33: <td valign="top">
34: <input type="text" tal:attributes="name python:'label_'+field;value python:value[1]" size=20>
35: </td>
36: <td valign="top">
37: <textarea rows="10" cols="40" tal:attributes="name python:'explanation_'+field" tal:content="python:value[2]" size=20></textarea>
38: </td>
39: </tr>
40: </span>
41: </table>
42: <input type="submit" value="Change"><br><br>
43: </form>
44: </body>
45: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>