Ajout mise à disposition des mots-clés pour enregistrement dans la base de données IndexedDB.
This commit is contained in:
parent
b4c6a9d440
commit
85ed8e313a
@ -17,7 +17,12 @@ block content
|
||||
}
|
||||
const publishedAtTxt=tool.dateFormat(group.Group.publishingAt, group.Group.language);
|
||||
const updatedAtTxt=tool.dateFormat(group.Group.updatedAt, group.Group.language);
|
||||
|
||||
group.keywords="";
|
||||
for(const questionnaire of group.Questionnaires)
|
||||
{
|
||||
group.keywords+=questionnaire.Questionnaire.keywords+",";
|
||||
}
|
||||
|
||||
if(group.Questionnaires.length !==0 && group.Questionnaires[0].Illustrations!=undefined && group.Questionnaires[0].Illustrations.length!==0)
|
||||
div(id="content-picture" class="cardboard")
|
||||
div(style="background-image: url('/img/quizs/"+group.Questionnaires[0].Illustrations[0].url+"');")
|
||||
@ -41,7 +46,7 @@ block content
|
||||
noscript
|
||||
div
|
||||
strong #{configTpl.noJSNotification}
|
||||
form(id="quiz" method="POST" data-title=group.Group.title)
|
||||
form(id="quiz" method="POST" data-title=group.Group.title data-keywords=group.keywords)
|
||||
h2 #{group.Group.title}
|
||||
div#response
|
||||
div(id="propose2Save" class="needJS")
|
||||
|
@ -52,7 +52,7 @@ block content
|
||||
noscript
|
||||
div
|
||||
strong #{configTpl.noJSNotification}
|
||||
form(id="quiz" method="POST" class="needJS" data-title=questionnaire.Questionnaire.title)
|
||||
form(id="quiz" method="POST" class="needJS" data-title=questionnaire.Questionnaire.title data-keywords=questionnaire.Questionnaire.keywords)
|
||||
h2 #{questionnaire.Questionnaire.title}
|
||||
div#response
|
||||
div(id="propose2Save" class="needJS")
|
||||
|
Loading…
Reference in New Issue
Block a user