form: always look for widget templates in the same directory (#20669)

This commit is contained in:
Frédéric Péters 2017-12-13 22:34:16 +01:00
parent 731905b4bf
commit 943433085f
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ def render(self):
continue
template_name = extra_css_class.split('-', 1)[1]
# full template
template_names.append('qommon/form/widgets/%s.html' % template_name)
template_names.append('qommon/forms/widgets/%s.html' % template_name)
if widget_template_name:
# widget specific variation
template_names.append(widget_template_name.replace(