#2612: Fix admin formatting when help_text used with multiple fields on the same
line
---------------------------------------------------------+------------------
Reporter: Andy Dustman <[EMAIL PROTECTED]> | Owner: xian
Status: new | Milestone: 1.0
Component: Admin interface | Version:
newforms-admin
Resolution: | Keywords:
nfa-someday
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 1
Needs_better_patch: 1 |
---------------------------------------------------------+------------------
Comment (by msaelices):
I've tried to test this ticket, but I've not found right admin options for
placing two fields in same line. I've been trying with this, but I didn't
find the correct CSS class for placing into same line:
{{{
#!python
# model:
class Person(models.Model):
name = models.CharField(max_length=128, help_text="Please input the
name")
date_joined = models.DateTimeField()
# admin:
class PersonAdmin(admin.ModelAdmin):
fieldsets = (('Avanced options', {'classes': '????????', # what CSS
class?
'fields': ('person',
'date_joined')}),)
}}}
What CSS class we use? Is correct this approach to reproduce UI bug?
--
Ticket URL: <http://code.djangoproject.com/ticket/2612#comment:12>
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
-~----------~----~----~----~------~----~------~--~---