1 <!-- dollarId: keyword.item,v 1.3 2002/05/22 00:32:34 richard Exp dollar-->
3 <table class="otherinfo" tal:define="keywords db/keyword/list"
4 tal:condition="keywords">
5 <tr><th colspan="4" class="header">Existing Keywords</th></tr>
6 <tr tal:repeat="start python:range(0, len(keywords), 4)">
7 <td width="25%" tal:define="batch python:utils.Batch(keywords, 4, start)"
8 tal:repeat="keyword batch">
9 <a tal:attributes="href string:keyword${keyword/id}"
10 tal:content="keyword/name">keyword here</a>
11 </td>
12 </tr>
13 <tr>
14 <td colspan="4" style="border-top: 1px solid gray">
15 To edit an existing keyword (for spelling or typing errors),
16 click on its entry above.
17 </td>
18 </tr>
19 </table>
21 <p class="help" tal:condition="not:context/id">
22 To create a new keyword, enter it below and click "Submit New Entry".
23 </p>
25 <form method="POST" onSubmit="return submit_once()"
26 enctype="multipart/form-data">
28 <input type="hidden" name=":required" value="name">
30 <table class="form">
31 <tr>
32 <th nowrap>Keyword</th>
33 <td tal:content="structure context/name/field">name</td>
34 </tr>
36 <tr>
37 <td> </td>
38 <td colspan=3 tal:content="structure context/submit">
39 submit button will go here
40 </td>
41 </tr>
42 </table>
43 </form>