diff --git a/django/contrib/admin/widgets.py b/django/contrib/admin/widgets.py
index 9072a96..4974557 100644
a
|
b
|
class ForeignKeyRawIdWidget(forms.TextInput):
|
100 | 100 | # API to determine the ID dynamically. |
101 | 101 | output.append('<a href="%s%s" class="related-lookup" id="lookup_id_%s" onclick="return showRelatedObjectLookupPopup(this);"> ' % \ |
102 | 102 | (related_url, url, name)) |
103 | | output.append('<img src="%simg/admin/selector-search.gif" width="16" height="16" alt="Lookup"></a>' % settings.ADMIN_MEDIA_PREFIX) |
| 103 | output.append('<img src="%simg/admin/selector-search.gif" width="16" height="16" alt="Lookup" /></a>' % settings.ADMIN_MEDIA_PREFIX) |
104 | 104 | if value: |
105 | 105 | output.append(' <strong>%s</strong>' % \ |
106 | 106 | truncate_words(self.rel.to.objects.get(pk=value), 14)) |