Add date/time-picker, autocomplete support for forms2 (deform)
This commit is contained in:
parent
f541a94351
commit
6ea88808b2
7 changed files with 267 additions and 19 deletions
|
@ -19,14 +19,12 @@
|
|||
});
|
||||
</script>
|
||||
% if dform is not Undefined:
|
||||
% for field in dform:
|
||||
<% resources = field.get_widget_resources() %>
|
||||
% for path in resources['js']:
|
||||
${h.javascript_link(request.static_url(path))}
|
||||
% endfor
|
||||
% for path in resources['css']:
|
||||
${h.stylesheet_link(request.static_url(path))}
|
||||
% endfor
|
||||
<% resources = dform.get_widget_resources() %>
|
||||
% for path in resources['js']:
|
||||
${h.javascript_link(request.static_url(path))}
|
||||
% endfor
|
||||
% for path in resources['css']:
|
||||
${h.stylesheet_link(request.static_url(path))}
|
||||
% endfor
|
||||
% endif
|
||||
</%def>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue