Mercurial > p > roundup > code
comparison templates/classic/html/page.html @ 3135:64970263194c maint-0.7
merge from HEAD
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Sat, 12 Feb 2005 01:08:53 +0000 |
| parents | fa49f3fe6afa |
| children |
comparison
equal
deleted
inserted
replaced
| 3129:fa200651d4c6 | 3135:64970263194c |
|---|---|
| 152 </select> | 152 </select> |
| 153 </td> | 153 </td> |
| 154 | 154 |
| 155 <td metal:define-macro="search_checkboxes"> | 155 <td metal:define-macro="search_checkboxes"> |
| 156 <ul class="search-checkboxes" | 156 <ul class="search-checkboxes" |
| 157 tal:define="value python:request.form.getvalue(name)"> | 157 tal:define="value python:request.form.getvalue(name); |
| 158 values python:value and value.split(',') or []"> | |
| 158 <li tal:repeat="s python:db[db_klass].list()"> | 159 <li tal:repeat="s python:db[db_klass].list()"> |
| 159 <input type="checkbox" tal:attributes="name name; id string:$name-${s/id}; | 160 <input type="checkbox" tal:attributes="name name; id string:$name-${s/id}; |
| 160 value s/id; checked python:value == s.id" /> | 161 value s/id; checked python:s.id in values" /> |
| 161 <label tal:attributes="for string:$name-${s/id}" | 162 <label tal:attributes="for string:$name-${s/id}" |
| 162 tal:content="python:s[db_content]" /> | 163 tal:content="python:s[db_content]" /> |
| 163 </li> | 164 </li> |
| 164 <li metal:define-slot="no_value_item"> | 165 <li metal:define-slot="no_value_item"> |
| 165 <input type="checkbox" value="-1" tal:attributes="name name; | 166 <input type="checkbox" value="-1" tal:attributes="name name; |
