I\'ve got a bit of Django form code that looks like this:
class GalleryAdminForm(forms.ModelForm): auto_id=False order = forms.CharField(widget=forms
Check the answer at Create a hidden field in the admin site, it can be done without JavaScript by overriding admin/includes/fieldset.html From there, you can inject a CSS class, and do the rest.
admin/includes/fieldset.html