Annotation of ECHO_content/ChangeECHO_resource.zpt, revision 1.1.1.1

1.1       casties     1: <html>
                      2:   <body>
                      3:     <h2>Change collection</h2>
                      4:     <form name="form" action="changeECHO_resource">
                      5:       
                      6:       <b> Title: </b><input type="text" name="title" tal:attributes="value here/title"><br>
                      7:       <b> Label: </b><input type="text" name="label" tal:attributes="value here/label"><br>
                      8:       <b> Link: </b><input type="text" name="link" tal:attributes="value here/link"><br>
                      9:       <b> MetaLink: </b><input type="text" name="metalink" tal:attributes="value here/metalink"><br>
                     10:       <b> Weight </b><input type="text" name="weight" tal:attributes="value here/weight"><br>
                     11: 
                     12:       <b> Description:</b><textarea name="description" tal:content="here/description"></textarea><br>
                     13:       <b> Content-Type: </b><input type="text" name="content_type" tal:attributes="value here/content_type"><br><br>
                     14:       <b> Responsible: </b><input type="text" name="responsible" tal:attributes="value here/responsible"><br><br>
                     15:       <h3>Scientific Information</h3>
                     16:       <b> Source-Type: </b><input type="text" name="source_type" tal:attributes="value python:here.scientific_Information.source_type"><br>
                     17:       <b> Period: </b><input type="text" name="period" tal:attributes="value here/scientific_Information/get_period"><br>
                     18:       <h4>Classification</h4>
                     19:       <b> Context: </b><input type="text" name="context" tal:attributes="value python:here.scientific_Information.scientific_Classification.get_context()"><br>
                     20:       <b> Science: </b><input type="text" name="science" tal:attributes="value python:here.scientific_Information.scientific_Classification.get_science()"><br>
                     21:       <b> Practice: </b><input type="text" name="practice" tal:attributes="value python:here.scientific_Information.scientific_Classification.get_practice()"><br>
                     22:    <h4>Coords</h4>           
                     23:       <table>
                     24:       <tr tal:repeat="coord python:here.getCoords()"><td><b> Coords: </b></td><td><input type="text" name="coords" tal:attributes="value coord"></td></tr>
                     25: </table>
                     26:       <b> Credits:</b><br>        
                     27:       <div tal:repeat="item here/partners/getPartners">
                     28:    
                     29:    <div tal:condition="python:item.getId() in here.credits">
                     30:      
                     31:      <input type="checkbox" name="credits" tal:attributes="value item/id" tal:content="item/title" checked/>
                     32:    </div>
                     33:    <div tal:condition="not:python:item.getId() in here.credits">
                     34:        <input type="checkbox" name="credits" tal:attributes="value item/id" tal:content="item/title"/>
                     35:    </div>
                     36: 
                     37:       </div>
                     38:       <input type="submit" value="Change"><br><br>
                     39:     </form>
                     40:   </body>
                     41: </html>

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