Annotation of OSA_system2/zpt/addMetadataForm_fragment.zpt, revision 1.2

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">
1.2     ! dwinter    28: 
        !            29:    <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)[0].rstrip(),'')"></b>
1.1       dwinter    30:       </tal:block>
                     31:       <select tal:condition="list"  tal:attributes="name python:prefix+'MD_'+foundType[1].getValue(item)[0].rstrip()">
                     32:    <option tal:repeat="element list" tal:attributes="value element" tal:content="element"/>
                     33:       </select>
                     34:    </td>
                     35:     <td>
                     36:       <a tal:attributes="href python:here.showHelpTag(here.REQUEST['URL1'],foundType[0],item)">help</a>
                     37:     </td>
                     38:   </tr>
                     39: </span>
                     40: </table>
                     41: 
                     42:     </tal:block>
                     43: 

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