Reputation: 2361
I'm trying to use form's CheckboxSelectMultiple
widget but I I'd like to change the way it is outputted. Is there a way to remove or change the <li>
to something else?
Upvotes: 4
Views: 1243
Reputation: 67063
The implementation of CheckboxSelectMultiple is hard-coded to use a <ul><li></li></ul>
form. The only way to change it would be to subclass the object and override the render
method.
Upvotes: 5