Skip to content
Snippets Groups Projects
Commit 954d2ef6 authored by Anthony's avatar Anthony
Browse files

Hide disabled checkbox in some questions

parent f337fd4b
No related branches found
No related tags found
No related merge requests found
...@@ -47,3 +47,12 @@ select.sd-dropdown.inline-dropdown, input.sd-input.inline-input { ...@@ -47,3 +47,12 @@ select.sd-dropdown.inline-dropdown, input.sd-input.inline-input {
margin: 0; margin: 0;
} }
} }
// Hide disabled checkboxes in some quizz
[data-name="pg665"] {
.sd-checkbox--readonly {
span.sd-checkbox__decorator {
display: none;
}
}
}
+++
title = "Dev Activity2"
weight = 30
+++
Activité pour tests en développement
{{< quiz >}}
{
"elements": [
{
"name": "quizQuestion",
"type": "checkbox",
"name": "pg665",
"choices": [
{
"value": "1",
"text": " The farmer refused to ***produce*** ...",
"enableIf": "false"
},
{
"value": "2",
"text": "<img src='/macao-hugo/media/phon_produce_13.png'>\n"
},
{
"value": "3",
"text": "<img src='/macao-hugo/media/phon_produce_2_.png'>\n"
},
{
"value": "7",
"text": "...organic ***produce.***",
"enableIf": "false"
},
{
"value": "8",
"text": "<img src='/macao-hugo/media/phon_produce_13.png'>\n"
},
{
"value": "9",
"text": "<img src='/macao-hugo/media/phon_produce_2_.png'>\n"
}
]
}
],
"correctComment": "\n",
"incorrectComment": "\n\nVoici le corrigé\n:\n\nThe farmer refused\nto ***produce*** organic ***produce***.\n\n <img src='/macao-hugo/media/phon_produce_12.png'> <img src='/macao-hugo/media/phon_produce_2.png'>\n\n"
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment