Skip to content

Commit

Permalink
newforms-admin: Fixed #6756 -- Flatpage 'Advanced options' fieldset i…
Browse files Browse the repository at this point in the history
…s properly collapsed. Thanks, mb0@mb0.org.

git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@7226 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
brosner committed Mar 11, 2008
1 parent 997f281 commit 3046427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/contrib/flatpages/models.py
Expand Up @@ -35,7 +35,7 @@ def get_absolute_url(self):
class FlatPageAdmin(admin.ModelAdmin):
fieldsets = (
(None, {'fields': ('url', 'title', 'content', 'sites')}),
('Advanced options', {'classes': 'collapse', 'fields': ('enable_comments', 'registration_required', 'template_name')}),
('Advanced options', {'classes': ('collapse',), 'fields': ('enable_comments', 'registration_required', 'template_name')}),
)
list_filter = ('sites',)
search_fields = ('url', 'title')
Expand Down

0 comments on commit 3046427

Please sign in to comment.