File:  [Repository] / OSA_system2 / zpt / addMetadataForm_template.zpt
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Mon Mar 7 19:33:42 2005 UTC (19 years, 2 months ago) by dwinter
Branches: MAIN
CVS tags: HEAD
new handlers

<html>
  <body>
    <form action="writeMetadataFile" method="post" tal:define="foundType python:here.getType(here.REQUEST.SESSION['MDF_type'])">
      <table>
	<tr>
	<td align="right" class="small" valign="top" width="25%" nowrap>	
	  Type:
	</td>
	<td align="left" valign="top" width="75%">	
	  <b tal:content="python:foundType[1].title"/>
	 </td>
      </tr>
   </table>
   
	<input type="hidden" tal:attributes="value here/REQUEST/SESSION/MDF_path" name="MDF_path">
	<input type="hidden" tal:attributes="value here/REQUEST/SESSION/MDF_type" name="MDF_type">	
        <input type="hidden" value="elem1/elem2" name="MDF_xpathStart">
	<table border="0" cellpadding="3" width="95%">
	  <span tal:omit-tag="" tal:repeat="item python:here.fieldList">
	    <tr tal:condition="not:python:foundType[1].isEmptyValue(item)==0">
    <td align="right" class="small" valign="top" width="25%" nowrap tal:content="python:foundType[1].getValue(item)[1]">Author:
		   </td>
    <td align="left" valign="top" width="75%" tal:define="list python:here.getList(foundType[1].getValue(item)[4])">
      <tal:block tal:condition="not:list">
	<b><input type="text" name="Author" size="40" value="" tal:attributes="name python:'MD_'+foundType[1].getValue(item)[0]"></b>
      </tal:block>
      <select tal:condition="list" tal:repeat="element list" tal:attributes="name python:'MD_'+foundType[1].getValue(item)[0]">
	<option tal:attributes="value element" tal:content="element"/>
      </select>
   </td>
    <td>
      <a tal:attributes="href python:here.showHelpTag(here.REQUEST['URL1'],foundType[0],item)">help</a>
    </td>
  </tr>
</span>
</table>
<table border="0" cellpadding="3" width="95%">
<tr bgcolor="#99CCCC">
      	<td nowrap>&nbsp;
      		      	</td>
      	<td align="left" nowrap>
      	<input type="submit"/>
        	<input type="reset" value="Reset">
        	        </td>
	</tr>
</table>

    </form>
</body>
</html>

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