Django

Code

Show
Ignore:
Timestamp:
05/29/08 07:28:40 (7 months ago)
Author:
russellm
Message:

newforms-admin: Fixed #6536 -- Corrected non-XHTML markup for image tag. Thanks to Johann Queuniet <johann.queuniet@gmail.com> for the initial report, and Honza Kral for keeping the ticket up to date.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/branches/newforms-admin/django/contrib/admin/widgets.py

    r7516 r7562  
    102102        output.append('<a href="%s%s" class="related-lookup" id="lookup_id_%s" onclick="return showRelatedObjectLookupPopup(this);"> ' % \ 
    103103            (related_url, url, name)) 
    104         output.append('<img src="%simg/admin/selector-search.gif" width="16" height="16" alt="Lookup"></a>' % settings.ADMIN_MEDIA_PREFIX) 
     104        output.append('<img src="%simg/admin/selector-search.gif" width="16" height="16" alt="Lookup" /></a>' % settings.ADMIN_MEDIA_PREFIX) 
    105105        if value: 
    106106            output.append(self.label_for_value(value))