#11277: Hidden fields in Inlines are displayed as empty rows
-------------------------------------------+--------------------------------
          Reporter:  bartTC                |         Owner:  nobody             
      
            Status:  reopened              |     Milestone:                     
      
         Component:  django.contrib.admin  |       Version:  SVN                
      
        Resolution:                        |      Keywords:  admin inlines 
hiddeninput
             Stage:  Unreviewed            |     Has_patch:  0                  
      
        Needs_docs:  0                     |   Needs_tests:  0                  
      
Needs_better_patch:  0                     |  
-------------------------------------------+--------------------------------
Changes (by narcelio):

  * status:  closed => reopened
  * resolution:  worksforme =>

Comment:

 The issue is that labels are still being rendered on forms, even when the
 field is hidden. Labels should not be rendered if field is hidden, right?

 (Maybe the problem is at
 django/contrib/admin/templates/admin/includes/fieldset.html or
 !AdminField.label_tag().)

 Checkout a discussion about that:

 [http://stackoverflow.com/questions/1408940/how-do-i-hide-the-field-label-
 for-a-hiddeninput-widget-in-django-admin How do I hide the field label for
 a HiddenInput widget in Django Admin?]

-- 
Ticket URL: <http://code.djangoproject.com/ticket/11277#comment:3>
Django <http://code.djangoproject.com/>
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?hl=en.

Reply via email to