mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	magic-removal: Small template syntax change because I'm anal
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1698 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		| @@ -1,8 +1,8 @@ | |||||||
| {% load admin_modify adminmedia %} | {% load admin_modify adminmedia %} | ||||||
| {% output_all bound_field.form_fields %} | {% output_all bound_field.form_fields %} | ||||||
| {% if bound_field.raw_id_admin %} | {% if bound_field.raw_id_admin %} | ||||||
|     <a href="{{bound_field.related_url}}" 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> |     <a href="{{ bound_field.related_url }}" 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> | ||||||
| {% else %} | {% else %} | ||||||
| {% if bound_field.needs_add_label %} | {% if bound_field.needs_add_label %} | ||||||
|     <a href="{{bound_field.related_url}}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> |     <a href="{{ bound_field.related_url }}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> | ||||||
| {% endif %}{% endif %} | {% endif %}{% endif %} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user