Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Negligible spacing fix to admin/templates/widget/foreign.html

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1487 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 5a54455ac8585920b4ded4b7191c6496e46fc2d7 1 parent 467d82c
Adrian Holovaty authored November 29, 2005
4  django/contrib/admin/templates/widget/foreign.html
... ...
@@ -1,8 +1,8 @@
1 1
 {% load admin_modify adminmedia %}
2 2
 {% output_all bound_field.form_fields %}
3 3
 {% if bound_field.raw_id_admin %}
4  
-            <a href="../../../{{ bound_field.field.rel.to.app_label }}/{{ bound_field.field.rel.to.module_name }}/" class="related-lookup" id="lookup_{{bound_field.element_id}}" onclick="return showRelatedObjectLookupPopup(this);"> <img src="{% admin_media_prefix %}img/admin/selector-search.gif" width="16" height="16" alt="Lookup"></a>
  4
+    <a href="../../../{{ bound_field.field.rel.to.app_label }}/{{ bound_field.field.rel.to.module_name }}/" class="related-lookup" id="lookup_{{ bound_field.element_id }}" onclick="return showRelatedObjectLookupPopup(this);"> <img src="{% admin_media_prefix %}img/admin/selector-search.gif" width="16" height="16" alt="Lookup"></a>
5 5
 {% else %}
6 6
 {% if bound_field.needs_add_label %}
7  
-            <a href="../../../{{ bound_field.field.rel.to.app_label }}/{{ bound_field.field.rel.to.module_name }}/add/" class="add-another" id="add_{{ bound_field.element_id}}" onclick="return showAddAnotherPopup(this);"> <img src="{% admin_media_prefix %}img/admin/icon_addlink.gif" width="10" height="10" alt="Add Another"/></a>
  7
+    <a href="../../../{{ bound_field.field.rel.to.app_label }}/{{ bound_field.field.rel.to.module_name }}/add/" class="add-another" id="add_{{ bound_field.element_id }}" onclick="return showAddAnotherPopup(this);"> <img src="{% admin_media_prefix %}img/admin/icon_addlink.gif" width="10" height="10" alt="Add Another"/></a>
8 8
 {% endif %}{% endif %}

0 notes on commit 5a54455

Please sign in to comment.
Something went wrong with that request. Please try again.