File:  [Repository] / OSA_system2 / zpt / changeMetadataMapping.zpt
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Mon Nov 29 09:48:07 2004 UTC (19 years, 6 months ago) by dwinter
Branches: MAIN
CVS tags: HEAD
Initial revision

<html>
  <body>
    <form name="form" action="changeMetadataMapping" method="post">
      <b> Title (=Reference Type): </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, ...)
	<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>
    </form>
  </body>
</html>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>