Author: floguy
Date: Sun Sep 21 01:01:52 2008
New Revision: 26
Modified:
trunk/things/templatetags/things_tags.py
Log:
Added the currently-selected field to the context of the display_ordering
template tag.
Modified: trunk/things/templatetags/things_tags.py
==============================================================================
--- trunk/things/templatetags/things_tags.py (original)
+++ trunk/things/templatetags/things_tags.py Sun Sep 21 01:01:52 2008
@@ -14,7 +14,7 @@
register.simple_tag(item_url)
def display_ordering(context):
- return {'fields': context['fields']}
+ return {'fields': context['fields'], 'field': context['field']}
register.inclusion_tag('things/ordering.html',
takes_context=True)(display_ordering)
def display_search(context):
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pinax-updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pinax-updates?hl=en
-~----------~----~----~----~------~----~------~--~---