#2545: [patch] Option to collapse fieldset if empty
-----------------------------+----------------------------------------------
Reporter: SmileyChris | Owner: adrian
Type: enhancement | Status: new
Priority: low | Milestone:
Component: Admin interface | Version:
Severity: normal | Keywords:
-----------------------------+----------------------------------------------
[http://www.djangoproject.com/documentation/model_api/#classes Collapsable
FieldSets] are cool. But I wanted them to be able to collapse only if the
fields within the field set are blank.
Usage example:
{{{
#!python
fields = (
(None, {
'fields': ('name', 'date')
}),
('Extra info', {
'classes': 'collapse collapse_empty',
'fields' : ('note',)
}),
)
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/2545>
Django <http://code.djangoproject.org/>
The web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django 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/django-updates
-~----------~----~----~----~------~----~------~--~---