Annotation of ECHO_content/ChangeECHO_Collection.zpt, revision 1.1.1.1

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

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