Annotation of OSA_system2/zpt/addMetadataForm_fragment.zpt, revision 1.1
1.1 ! dwinter 1:
! 2: <tal:block tal:define="foundType python:here.getType(here.REQUEST.SESSION['MDF_type']);prefix python:here.REQUEST.SESSION['MDF_prefix'] ">
! 3: <table>
! 4: <tr>
! 5: <td align="right" class="small" valign="top" width="25%" nowrap>
! 6: Type:
! 7: </td>
! 8: <td align="left" valign="top" width="75%">
! 9: <b tal:content="python:foundType[1].title"/>
! 10: </td>
! 11: </tr>
! 12: </table>
! 13:
! 14: <input type="hidden" tal:attributes="value here/REQUEST/SESSION/MDF_path" name="MDF_path">
! 15: <input type="hidden" tal:attributes="value here/REQUEST/SESSION/MDF_type" name="MDF_type">
! 16:
! 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>
! 22: <b tal:condition="python:foundType[1].getValue(item)[3]=='required'" tal:content="python:foundType[1].getValue(item)[1]"/>
! 23: <i tal:condition="not:python:foundType[1].getValue(item)[3]=='required'" tal:content="python:foundType[1].getValue(item)[1]"/>
! 24:
! 25: </td>
! 26: <td align="left" valign="top" width="75%" tal:define="list python:here.getList(foundType[1].getValue(item)[4])">
! 27: <tal:block tal:condition="not:list">
! 28: <b><input type="text" name="Author" size="40" value="" tal:attributes="name python:prefix+'MD_'+foundType[1].getValue(item)[0].rstrip(); value python:here.REQUEST.SESSION['MDF_presets'].get(foundType[1].getValue(item)[1].rstrip(),'')"></b>
! 29: </tal:block>
! 30: <select tal:condition="list" tal:attributes="name python:prefix+'MD_'+foundType[1].getValue(item)[0].rstrip()">
! 31: <option tal:repeat="element list" tal:attributes="value element" tal:content="element"/>
! 32: </select>
! 33: </td>
! 34: <td>
! 35: <a tal:attributes="href python:here.showHelpTag(here.REQUEST['URL1'],foundType[0],item)">help</a>
! 36: </td>
! 37: </tr>
! 38: </span>
! 39: </table>
! 40:
! 41: </tal:block>
! 42:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>