Mercurial > p > roundup > code
view roundup/templates/classic/html/keyword.item @ 1122:ddbc5d1ad94f
more batching cleanup
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 12 Sep 2002 00:10:34 +0000 |
| parents | e42c045015fd |
| children | 36ec30d286ea |
line wrap: on
line source
<!-- dollarId: keyword.item,v 1.3 2002/05/22 00:32:34 richard Exp dollar--> <table class="otherinfo"> <tr><th colspan="4" class="header">Existing Keywords</th></tr> <tr tal:define="keywords db/keyword/list" tal:repeat="start python:range(0, len(keywords), 4)"> <td tal:define="batch python:utils.Batch(keywords, 4, start)" tal:repeat="keyword batch" tal:content="keyword/name">keyword here</td> </tr> <tr><td colspan="4" style="border-top: 1px solid gray"> </td></tr> </table> <p class="help" tal:condition="not:context/id"> To create a new keyword, enter it below and click "Submit New Entry". </p> <form method="POST" onSubmit="return submit_once()" enctype="multipart/form-data"> <input type="hidden" name=":required" value="name"> <table class="form"> <tr> <th nowrap>Keyword</th> <td tal:content="structure context/name/field">name</td> </tr> <tr> <td> </td> <td colspan=3 tal:content="structure context/submit"> submit button will go here </td> </tr> </table> </form>
