mirror of https://github.com/django/django.git
Fixed path to icon_searchbox.png
git-svn-id: http://code.djangoproject.com/svn/django/trunk@153 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
35c16cba2c
commit
1680686e3a
|
@ -280,7 +280,7 @@ def change_list(request, app_label, module_name):
|
|||
# Search form.
|
||||
if lookup_opts.admin.search_fields:
|
||||
raw_template.append('<div id="toolbar">\n<form id="changelist-search" action="" method="get">\n')
|
||||
raw_template.append('<label><img src="%simg/icon_searchbox.png" /></label> ' % ADMIN_MEDIA_PREFIX)
|
||||
raw_template.append('<label><img src="%simg/admin/icon_searchbox.png" /></label> ' % ADMIN_MEDIA_PREFIX)
|
||||
raw_template.append('<input type="text" size="40" name="%s" value="%s" id="searchbar" /> ' % \
|
||||
(SEARCH_VAR, escape(query)))
|
||||
raw_template.append('<input type="submit" value="Go" /> ')
|
||||
|
|
Loading…
Reference in New Issue