Ticket #43: icon_searchbox.diff

File icon_searchbox.diff, 818 bytes (added by django@…, 19 years ago)

trivial patch

  • django/views/admin/main.py

     
    280280    # Search form.
    281281    if lookup_opts.admin.search_fields:
    282282        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)
    284284        raw_template.append('<input type="text" size="40" name="%s" value="%s" id="searchbar" /> ' % \
    285285            (SEARCH_VAR, escape(query)))
    286286        raw_template.append('<input type="submit" value="Go" /> ')
Back to Top