Fix deform widget resource inclusion for master/create template
This commit is contained in:
parent
52747ea6bd
commit
e283288a26
|
@ -7,15 +7,13 @@
|
||||||
${parent.extra_javascript()}
|
${parent.extra_javascript()}
|
||||||
${self.disable_button_js()}
|
${self.disable_button_js()}
|
||||||
% if dform is not Undefined:
|
% if dform is not Undefined:
|
||||||
% for field in dform:
|
<% resources = dform.get_widget_resources() %>
|
||||||
<% resources = field.get_widget_resources() %>
|
|
||||||
% for path in resources['js']:
|
% for path in resources['js']:
|
||||||
${h.javascript_link(request.static_url(path))}
|
${h.javascript_link(request.static_url(path))}
|
||||||
% endfor
|
% endfor
|
||||||
% for path in resources['css']:
|
% for path in resources['css']:
|
||||||
${h.stylesheet_link(request.static_url(path))}
|
${h.stylesheet_link(request.static_url(path))}
|
||||||
% endfor
|
% endfor
|
||||||
% endfor
|
|
||||||
% endif
|
% endif
|
||||||
</%def>
|
</%def>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue