Ticket #6334: patch.diff
File patch.diff, 639 bytes (added by , 17 years ago) |
---|
-
django/newforms/widgets.py
426 426 if id_: 427 427 final_attrs = dict(final_attrs, id='%s_%s' % (id_, i)) 428 428 output.append(widget.render(name + '_%s' % i, widget_value, final_attrs)) 429 return self.format_output(output)429 return mark_safe(self.format_output(output)) 430 430 431 431 def id_for_label(self, id_): 432 432 # See the comment for RadioSelect.id_for_label()