Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

magic-removal: fixed #1573 (thanks, ubernostrum)

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2620 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 09d88c5489c41903d95fc2353fd95dc01964b030 1 parent 2aef97f
@jacobian jacobian authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/admin/templates/admin/search_form.html
View
2  django/contrib/admin/templates/admin/search_form.html
@@ -3,7 +3,7 @@
{% if cl.lookup_opts.admin.search_fields %}
<div id="toolbar"><form id="changelist-search" action="" method="get">
<div><!-- DIV needed for valid HTML -->
-<label><img src="{% admin_media_prefix %}img/admin/icon_searchbox.png" alt="Search" /></label>
+<label for="searchbar"><img src="{% admin_media_prefix %}img/admin/icon_searchbox.png" alt="Search" /></label>
<input type="text" size="40" name="{{ search_var }}" value="{{ cl.query|escape }}" id="searchbar" />
<input type="submit" value="{% trans 'Go' %}" />
{% if show_result_count %}
Please sign in to comment.
Something went wrong with that request. Please try again.