[Answered ]-How to remove label?

2👍

Here are some possible solutions

1) Use label="" when inside your form definition

2) Override the label, if you are using an inherited form and don’t have direct access

def __init__(self, *args, **kwargs):
    super(FormClass, self).__init__(*args, **kwargs)
    self.fields['field'].label = ''

Another possible option is to pass auto_id=False into the form

👤NS0

Leave a comment