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, 4 months ago) by dwinter
Branches: MAIN
CVS tags: HEAD
new handlers

    1: <html>
    2:   <body>
    3:     <form action="writeMetadataFile" method="post" tal:define="foundType python:here.getType(here.REQUEST.SESSION['MDF_type'])">
    4:       <table>
    5: 	<tr>
    6: 	<td align="right" class="small" valign="top" width="25%" nowrap>	
    7: 	  Type:
    8: 	</td>
    9: 	<td align="left" valign="top" width="75%">	
   10: 	  <b tal:content="python:foundType[1].title"/>
   11: 	 </td>
   12:       </tr>
   13:    </table>
   14:    
   15: 	<input type="hidden" tal:attributes="value here/REQUEST/SESSION/MDF_path" name="MDF_path">
   16: 	<input type="hidden" tal:attributes="value here/REQUEST/SESSION/MDF_type" name="MDF_type">	
   17:         <input type="hidden" value="elem1/elem2" name="MDF_xpathStart">
   18: 	<table border="0" cellpadding="3" width="95%">
   19: 	  <span tal:omit-tag="" tal:repeat="item python:here.fieldList">
   20: 	    <tr tal:condition="not:python:foundType[1].isEmptyValue(item)==0">
   21:     <td align="right" class="small" valign="top" width="25%" nowrap tal:content="python:foundType[1].getValue(item)[1]">Author:
   22: 		   </td>
   23:     <td align="left" valign="top" width="75%" tal:define="list python:here.getList(foundType[1].getValue(item)[4])">
   24:       <tal:block tal:condition="not:list">
   25: 	<b><input type="text" name="Author" size="40" value="" tal:attributes="name python:'MD_'+foundType[1].getValue(item)[0]"></b>
   26:       </tal:block>
   27:       <select tal:condition="list" tal:repeat="element list" tal:attributes="name python:'MD_'+foundType[1].getValue(item)[0]">
   28: 	<option tal:attributes="value element" tal:content="element"/>
   29:       </select>
   30:    </td>
   31:     <td>
   32:       <a tal:attributes="href python:here.showHelpTag(here.REQUEST['URL1'],foundType[0],item)">help</a>
   33:     </td>
   34:   </tr>
   35: </span>
   36: </table>
   37: <table border="0" cellpadding="3" width="95%">
   38: <tr bgcolor="#99CCCC">
   39:       	<td nowrap>&nbsp;
   40:       		      	</td>
   41:       	<td align="left" nowrap>
   42:       	<input type="submit"/>
   43:         	<input type="reset" value="Reset">
   44:         	        </td>
   45: 	</tr>
   46: </table>
   47: 
   48:     </form>
   49: </body>
   50: </html>

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