0001-form-use-correct-widget-control-content-template-blo.patch
wcs/qommon/form.py | ||
---|---|---|
180 | 180 |
self.add_media() |
181 | 181 |
template_names = get_template_names(self) |
182 | 182 |
context = {'widget': self} |
183 |
return htmltext(force_str(render_block_to_string(template_names, 'widget-content', context)))
|
|
183 |
return htmltext(force_str(render_block_to_string(template_names, 'widget-control', context)))
|
|
184 | 184 | |
185 | 185 | |
186 | 186 |
Widget.get_error = get_i18n_error |
187 |
- |