#3596: Labels not positioned correctly in Admin
-------------------------+--------------------------------------------------
   Reporter:  anonymous  |                Owner:  adrian         
     Status:  new        |            Component:  Admin interface
    Version:  SVN        |           Resolution:                 
   Keywords:             |                Stage:  Accepted       
  Has_patch:  0          |           Needs_docs:  0              
Needs_tests:  0          |   Needs_better_patch:  0              
-------------------------+--------------------------------------------------
Comment (by matt <[EMAIL PROTECTED]>):

 It is trivially reproducible: this models.py reproduces the problem for
 me.
 
 {{{
 from django.db import models
 
 class testmodel(models.Model):
     first = models.CharField(maxlength=10)
     second = models.CharField(maxlength=10)
     third = models.CharField(maxlength=10)
     class Admin:
         fields = (
             (None, {
                 'fields' : (
                     ('first','second','third'),
                     )}),
         )
 }}}
 
 On the change form for testmodel, the labels for second and third are
 floated below and to the left.  Which is what I expect, based on the CSS
 (the label for first does not receive the "inline" class).  It seems to me
 that the patch from revision 4590 (#2205) should be reverted; the "inline"
 class should probably not be applied to edit_inline STACKED labels at all.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/3596#comment:4>
Django Code <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