Ticket #43: icon_searchbox.diff
File icon_searchbox.diff, 818 bytes (added by , 19 years ago) |
---|
-
django/views/admin/main.py
280 280 # Search form. 281 281 if lookup_opts.admin.search_fields: 282 282 raw_template.append('<div id="toolbar">\n<form id="changelist-search" action="" method="get">\n') 283 raw_template.append('<label><img src="%simg/ admin/icon_searchbox.png" /></label> ' % ADMIN_MEDIA_PREFIX)283 raw_template.append('<label><img src="%simg/icon_searchbox.png" /></label> ' % ADMIN_MEDIA_PREFIX) 284 284 raw_template.append('<input type="text" size="40" name="%s" value="%s" id="searchbar" /> ' % \ 285 285 (SEARCH_VAR, escape(query))) 286 286 raw_template.append('<input type="submit" value="Go" /> ')