[IMP] survey: replace form which had no reason to be a form by a div
This commit is contained in:
committed by
Olivier Dony
parent
7636b510a2
commit
7753ed7ce4
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user