-
Notifications
You must be signed in to change notification settings - Fork 2
Description
If I have a model like so --
class CuratedBlogArticleInline(admin.StackedInline):
model = CuratedBlogArticle
sortable_field_name = "position"
raw_id_fields = ['article']
extra = 0
formfield_overrides = {
models.PositiveSmallIntegerField: {"widget": HiddenInput(),"label":''}
}
In the grapelli interface the "position" field label is still showing, well the colon in the label shows with the above admin model and the row takes up space so it borks the subsequent row.
These were seen in django 1.3.1 Grappelli 2.3.7
I think this is the same issue as in this stackoverflow ticket --
or this one
http://stackoverflow.com/questions/4999005/create-a-hidden-field-in-django-admin/6498907#6498907
If you can't find an obvious way to solve it generally I'll do a css hack in a branch (or something).