Mercurial > p > roundup > code
comparison templates/classic/html/page.html @ 2867:5cc6e1d295e1 maint-0.7
merge from HEAD
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 04 Nov 2004 00:33:40 +0000 |
| parents | bb152a04bee7 |
| children | fa49f3fe6afa |
comparison
equal
deleted
inserted
replaced
| 2859:a204a49e0974 | 2867:5cc6e1d295e1 |
|---|---|
| 153 | 153 |
| 154 <td metal:define-macro="search_checkboxes"> | 154 <td metal:define-macro="search_checkboxes"> |
| 155 <ul class="search-checkboxes" | 155 <ul class="search-checkboxes" |
| 156 tal:define="value python:request.form.getvalue(name)"> | 156 tal:define="value python:request.form.getvalue(name)"> |
| 157 <li tal:repeat="s python:db[db_klass].list()"> | 157 <li tal:repeat="s python:db[db_klass].list()"> |
| 158 <input type="checkbox" tal:attributes="name name; id string:name-${s/id}; | 158 <input type="checkbox" tal:attributes="name name; id string:$name-${s/id}; |
| 159 value s/id; checked python:value == s.id" /> | 159 value s/id; checked python:value == s.id" /> |
| 160 <label tal:attributes="for string:$name-${s/id}" tal:content="s/name" /> | 160 <label tal:attributes="for string:$name-${s/id}" |
| 161 tal:content="python:s[db_content]" /> | |
| 161 </li> | 162 </li> |
| 162 <li metal:define-slot="no_value_item"> | 163 <li metal:define-slot="no_value_item"> |
| 163 <input type="checkbox" value="-1" tal:attributes="name name; | 164 <input type="checkbox" value="-1" tal:attributes="name name; |
| 164 id string:$name--1; checked python:value == '-1'" /> | 165 id string:$name--1; checked python:value == '-1'" /> |
| 165 <label tal:attributes="for string:$name--1">no value</label> | 166 <label tal:attributes="for string:$name--1">no value</label> |
