22 lines
1.0 KiB
XML
22 lines
1.0 KiB
XML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
<html xmlns="http://www.w3.org/1999/xhtml"
|
||
xmlns:tal="http://xml.zope.org/namespaces/tal">
|
||
<body>
|
||
<div tal:condition="view/was_submitted" id="quiz-result">
|
||
<p tal:condition="view/is_correct" id="bravo">
|
||
Bravo, vous connaissez tout de nous !
|
||
</p>
|
||
<p tal:condition="not: view/is_correct" tal:define="score view/get_score">
|
||
Votre score :
|
||
<span tal:condition="python: score == 0">Aucune bonne réponse.</span>
|
||
<span tal:condition="python: score == 1">Une bonne réponse.</span>
|
||
<span tal:condition="python: score > 1"><span tal:replace="score"/> bonnes réponses.</span>
|
||
</p>
|
||
</div>
|
||
<form method="post" action="." tal:attributes="action context/absolute_url">
|
||
<metal:use use-macro="context/@@ploneform-macros/fields" />
|
||
<metal:use use-macro="context/@@ploneform-macros/actions" />
|
||
</form>
|
||
</body>
|
||
</html>
|