summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2015-09-23 15:54:42 +0200
committerOlivier Dony <odo@openerp.com>2015-10-01 01:36:50 +0200
commit7753ed7ce4b8e6eb06dc42e284af39fbd9ccefd5 (patch)
tree9cfc590fbe95a3e60f5268f1fc8ee900680ea64b /addons
parent7636b510a2cfc48bd0281374596f3c7caf1f7edf (diff)
[IMP] survey: replace form which had no reason to be a form by a div
Diffstat (limited to 'addons')
-rw-r--r--addons/survey/views/survey_templates.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/survey/views/survey_templates.xml b/addons/survey/views/survey_templates.xml
index 6e9c5a99580..dbd674c707f 100644
--- a/addons/survey/views/survey_templates.xml
+++ b/addons/survey/views/survey_templates.xml
@@ -286,7 +286,7 @@
<h1><span t-field='survey.title'/></h1>
<t t-if="survey.description"><div t-field='survey.description' class="oe_no_empty"/></t>
</div>
- <form role="form" method="post" class="js_surveyform" t-att-name="'%s' % (survey.id)" t-att-data-prefill="'/survey/prefill/%s/%s' % (slug(survey), token)" t-att-data-scores="'/survey/scores/%s/%s' % (slug(survey), token) if quizz_correction else ''">
+ <div role="form" class="js_surveyform" t-att-name="'%s' % (survey.id)">
<t t-foreach="survey.page_ids" t-as="page">
<div class="page-header">
<h1 t-field='page.title' />
@@ -313,7 +313,7 @@
</t>
<hr/>
</t>
- </form>
+ </div>
</div>
</div>
</div>