diff options
| author | David Monjoie <dmo@odoo.com> | 2015-08-25 21:50:31 +0200 |
|---|---|---|
| committer | David Monjoie <dmo@odoo.com> | 2015-08-26 16:01:19 +0200 |
| commit | a77f5cf42faa75a2dd3931d83ad8ea86648248c0 (patch) | |
| tree | 29590b9351bf73ac573928be7f0dbaa5ea8505a8 /addons/website_form/views | |
| parent | 57c4787d09eacc548140d7a552a76264eae21a55 (diff) | |
[ADD] website_form: generic form controller
Contains a new ajax post function that comes from mdo's
original code and that I was not able to get rid of.
Diffstat (limited to 'addons/website_form/views')
| -rw-r--r-- | addons/website_form/views/assets.xml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/addons/website_form/views/assets.xml b/addons/website_form/views/assets.xml new file mode 100644 index 00000000000..0cf95cca454 --- /dev/null +++ b/addons/website_form/views/assets.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<openerp> + <data> + + <template id="assets_frontend" name="Website Form Assets Frontend" inherit_id="website.assets_frontend"> + <xpath expr="." position="inside"> + <link rel='stylesheet' href='/website_form/static/src/less/website_form.less'/> + <script type="text/javascript" src="/website_form/static/src/js/website_form.js"/> + + <!-- Bootstrap datetimepicker is currently only included in the backend --> + <link rel="stylesheet" href="/web/static/lib/bootstrap-datetimepicker/css/bootstrap-datetimepicker.css"/> + <script type="text/javascript" src="/web/static/lib/bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js"/> + </xpath> + </template> + + </data> +</openerp> |
