Replace deprecated django.contrib adminmedia with staticfiles.
[htsworkflow.git] / htsworkflow / frontend / templates / search_form.html
index 97ef8f18b7a67d388971bc854bc5e9915c88ee9c..3c66304ac332df3f3717a9f07ab7619381794590 100644 (file)
@@ -1,9 +1,9 @@
-{% load adminmedia %}
+{% load staticfiles %}
 {% load i18n %}
 {% if cl.search_fields %}
 <div id="toolbar"><form id="changelist-search" action="" method="get">
 <div><!-- DIV needed for valid HTML -->
-<label for="searchbar"><img src="{% admin_media_prefix %}img/admin/icon_searchbox.png" alt="Search" /></label>
+<label for="searchbar"><img src="{% static "img/admin/icon_searchbox.png" %}" alt="Search" /></label>
 <input type="text" size="40" name="{{ search_var }}" value="{{ cl.query }}" id="searchbar" />
 <input type="submit" value="{% trans 'Go' %}" />
 {% if show_result_count %}