Annotation of ECHO_content/zpt/ChangeECHO_group.zpt, revision 1.1
1.1 ! dwinter 1: <html>
! 2: <body>
! 3: <h2>Change collection</h2>
! 4: <form name="form" action="changeECHO_group">
! 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> imageTag: </b></td><td><input type="text" name="imageTag" tal:attributes="value python:here.getImageTag()"></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=10 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: <tr><td> <i>Content-Type:</i> </td><td><select name="contentType" tal:content="structure python:here.contentTypeSelector_HTML(selected=here.contentType)"/></td></tr>
! 15:
! 16: <tr><td><b> Responsible: </b></td><td><input type="text" name="responsible" tal:attributes="value here/responsible"></td></tr>
! 17: <tr><td><i>Secondary Link:</i> </td><td><input type="text" name="secondaryLink" value="weight" size=100 tal:attributes="value here/getSecondaryLink"></td></tr>
! 18: <tr><td><i>Title of Secondary Link:</i> </td><td><input type="text" name="secondaryLinkTitle" value="weight" size=100 tal:attributes="value here/getSecondaryLinkTitle"></td></tr>
! 19: <tr><td><i>Background color:</i> </td><td><input type="text" name="bgcolour" tal:attributes="value here/getBgcolour" size=100></td></tr>
! 20: </table>
! 21:
! 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: <h3> Credits:</h3>
! 27:
! 28: <div tal:repeat="item here/partners/getPartners">
! 29:
! 30: <div tal:condition="python:item.getId() in here.getCredits()">
! 31:
! 32: <input type="checkbox" name="credits" tal:attributes="value item/id" tal:content="item/title" checked/>
! 33: </div>
! 34: <div tal:condition="not:python:item.getId() in here.getCredits()">
! 35: <input type="checkbox" name="credits" tal:attributes="value item/id" tal:content="item/title"/>
! 36: </div>
! 37:
! 38: </div>
! 39: <input type="submit" value="change"><br><br>
! 40: </form>
! 41: </body>
! 42: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>