Mercurial > p > roundup > code
changeset 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 | a204a49e0974 |
| children | 80a9419bd5c7 |
| files | templates/classic/html/page.html |
| diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/templates/classic/html/page.html Wed Nov 03 03:07:51 2004 +0000 +++ b/templates/classic/html/page.html Thu Nov 04 00:33:40 2004 +0000 @@ -155,9 +155,10 @@ <ul class="search-checkboxes" tal:define="value python:request.form.getvalue(name)"> <li tal:repeat="s python:db[db_klass].list()"> - <input type="checkbox" tal:attributes="name name; id string:name-${s/id}; + <input type="checkbox" tal:attributes="name name; id string:$name-${s/id}; value s/id; checked python:value == s.id" /> - <label tal:attributes="for string:$name-${s/id}" tal:content="s/name" /> + <label tal:attributes="for string:$name-${s/id}" + tal:content="python:s[db_content]" /> </li> <li metal:define-slot="no_value_item"> <input type="checkbox" value="-1" tal:attributes="name name;
