Projet

Général

Profil

0001-form-use-correct-widget-control-content-template-blo.patch

Paul Marillonnet, 16 septembre 2020 14:50

Télécharger (870 octets)

Voir les différences:

Subject: [PATCH] form: use correct widget control content template block name
 (#46694)

 wcs/qommon/form.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
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
-