version 1.1, 2004/04/05 21:54:42
|
version 1.2, 2004/04/08 16:50:01
|
Line 1
|
Line 1
|
<html> |
<html> |
<body> |
<body> |
<form name="form" action="change_OSAS_Mapping" method="post"> |
<form name="form" action="change_OSAS_Mapping" method="post"> |
|
<b> Title (=Reference Type): </b><input type="text" name="titleOfObject" tal:attributes="value here/title"><br><br> |
<b> Title: </b><input type="text" name="titleOfObject" tal:attributes="value here/title"><br><br> |
<ul> |
|
<li> <b>Tag-Name:</b> Should be lower case only, must only contain letters A-z, Numbers or _ (author, number_of_pages, ...) |
<span tal:repeat="field here/fieldList"><b tal:content="field"/> <input type="text" tal:attributes="value python:here.getValue(field); name field" size=20><br></span> |
<li> <b>Label: </b> Human readable name for displaying purposes (Author, Number of Pages, ...) |
|
<li> <b>Explanation:</b> Should contain a help text, what and how to enter in this field. Can contain HTML tags. |
|
</ul> |
|
<table border=1> |
|
<tr> |
|
<td> |
|
Generic Name |
|
</td> |
|
<td> |
|
<b>Tag-Name</b> |
|
</td> |
|
<td> |
|
<b>Label</b> |
|
</td> |
|
<td> |
|
<b>Explanation</b> |
|
</td> |
|
</tr> |
|
<span tal:omit-tag="" tal:repeat="field here/fieldList"> |
|
<tr tal:define="value python:here.getValue(field); name field"> |
|
<td valign="top"> |
|
<b tal:content="field"/> |
|
</td> |
|
<td valign="top"> |
|
<input type="text" tal:attributes="name field;value python:value[0]" size=20> |
|
</td> |
|
<td valign="top"> |
|
<input type="text" tal:attributes="name python:'label_'+field;value python:value[1]" size=20> |
|
</td> |
|
<td valign="top"> |
|
<textarea rows="10" cols="40" tal:attributes="name python:'explanation_'+field" tal:content="python:value[2]" size=20></textarea> |
|
</td> |
|
</tr> |
|
</span> |
|
</table> |
<input type="submit" value="Change"><br><br> |
<input type="submit" value="Change"><br><br> |
</form> |
</form> |
</body> |
</body> |