]> OzVa Git service - form/commitdiff
Added question highight in red when not completed
authorMax Value <greenwoodw50@gmail.com>
Mon, 21 Jul 2025 14:37:27 +0000 (15:37 +0100)
committerMax Value <greenwoodw50@gmail.com>
Mon, 21 Jul 2025 14:37:27 +0000 (15:37 +0100)
templates/questions.html

index 30d09055be2eccf23bba1c8085092fdd5e4ae411..8520c80e8d227b5b6a71ec73597e4c6b5169fc19 100644 (file)
        {% for question in questions %}
                <fieldset>
                        <legend>Question {{ question["rowid"] }}</legend>
-                       <p class="question">
+                       <p class="question"
+                       {% if failed and "q" ~ question["rowid"] not in complete %}
+                               style="border:1px solid red; color: red;"
+                       {% endif %}>
                                {{ question.question }}
                        </p>
                        <div class="options">