Hi,
How to show two "fieldsets" horizontally in a form?
Note: I don't mean show multiple fields horizontally, but multiple fieldsets.
Thank you!
Hi,
How to show two "fieldsets" horizontally in a form?
Note: I don't mean show multiple fields horizontally, but multiple fieldsets.
Thank you!
I've never tried it, but look into Overriding Admin Templates (specifically change_form.html and the part that iterates through fieldsets).
Each fieldset, in addition to the tuple of fields, also takes a classes
argument which is a list of CSS classes to apply to the fieldset. You can use this in conjunction with a custom stylesheet loaded via the ModelAdmin media
class to position things via CSS.