Annotation of ECHO_content/zpt/ChangeECHO_Collection.zpt, revision 1.3
1.1 dwinter 1: <html>
2: <body>
3: <h2>Change collection</h2>
4: <form name="form" action="changeECHO_collection">
5: <table>
6: <tr><td><b> Title: </b></td><td><input type="text" name="title" tal:attributes="value here/title"></td></tr>
7: <tr><td><b> Label: </b></td><td><input type="text" name="label" tal:attributes="value here/label"></td></tr>
8: <tr><td><b> Weight for sorting: </b></td><td><input type="text" name="weight" tal:attributes="value here/weight"></td></tr>
9:
10: <tr><td><b> Description:</b></td><td><textarea name="description" cols=80 rows=10 tal:content="here/description"></textarea></td></tr>
11: <tr><td><b> Sortfield: </b></td><td><input type="text" name="sortfield" tal:attributes="value here/sortfield"></td></tr>
12:
13:
14: <tr><td><b> Content-Type: </b></td><td><input type="text" name="content_type" tal:attributes="value here/content_type"></td></tr>
15: <tr><td><b> Responsible: </b></td><td><input type="text" name="responsible" tal:attributes="value here/responsible"></td></tr>
16: </table>
17:
18: <h4>Coords</h4>
19: <table>
20: <tr tal:repeat="coord python:here.getCoords()"><td><b> Coords: </b></td><td><input type="text" name="coords" tal:attributes="value coord"></td></tr>
21: </table>
22: <h3> Credits:</h3>
23:
24: <div tal:repeat="item here/partners/getPartners">
25:
26: <div tal:condition="python:item.getId() in here.getCredits()">
27:
28: <input type="checkbox" name="credits" tal:attributes="value item/id" tal:content="item/title" checked/>
29: </div>
30: <div tal:condition="not:python:item.getId() in here.getCredits()">
31: <input type="checkbox" name="credits" tal:attributes="value item/id" tal:content="item/title"/>
32: </div>
33:
34: </div>
35: <input type="submit" value="change"><br><br>
36: </form>
37: </body>
38: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>