tags which makes them hard to use in a design that expects different style of output, for instance wrapping things in

tags.
Attached patch takes these

and

tags out of the code to a class variable that can be easily overwritten in subclasses. Creating a widget DivCheckboxSelectMultiple is then as simple as:
class DivCheckboxSelectMultiple(forms.widgets.CheckboxSelectMultiple):
tags = { 'block' : u'