form: always look for widget templates in the same directory (#20669)
This commit is contained in:
parent
731905b4bf
commit
943433085f
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue