Mercurial > p > roundup > code
diff 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 |
line wrap: on
line diff
--- a/templates/classic/html/page.html Fri Feb 11 22:41:10 2005 +0000 +++ b/templates/classic/html/page.html Sat Feb 12 01:08:53 2005 +0000 @@ -154,10 +154,11 @@ <td metal:define-macro="search_checkboxes"> <ul class="search-checkboxes" - tal:define="value python:request.form.getvalue(name)"> + tal:define="value python:request.form.getvalue(name); + values python:value and value.split(',') or []"> <li tal:repeat="s python:db[db_klass].list()"> <input type="checkbox" tal:attributes="name name; id string:$name-${s/id}; - value s/id; checked python:value == s.id" /> + value s/id; checked python:s.id in values" /> <label tal:attributes="for string:$name-${s/id}" tal:content="python:s[db_content]" /> </li>
