django field tag label class -
Is there a way to implement a class in {{field.label_tag}}
I I am using Twitter Bootstrap and want to add a category to the label tag which is field.label_tag
Hopefully there is a way to handle this. I'm using the Django Widget tweaks to do this for the other half of the form for entry into information. Just hope that I'm missing something which will make this part easier.
Do you have {{field.auto_id}} & gt; Tried to manually create a label element for {{field.label}}, such as:
& lt; Label class = "your-class" & lt; / Labels & gt; Reference:
Comments
Post a Comment