diff options
Diffstat (limited to 'yaksh/templates')
-rw-r--r-- | yaksh/templates/exam.html | 8 | ||||
-rw-r--r-- | yaksh/templates/yaksh/question.html | 4 |
2 files changed, 4 insertions, 8 deletions
diff --git a/yaksh/templates/exam.html b/yaksh/templates/exam.html index 4818717..02ff70a 100644 --- a/yaksh/templates/exam.html +++ b/yaksh/templates/exam.html @@ -86,13 +86,9 @@ <div class="panel-body"><pre><code>{{ error }}</code></pre></div> </div> {% endfor %} - {% if error != "Incorrect answer" %} - <div class="panel-heading">Testcase No. {{ forloop.counter }}</div> - <div class="panel-body"><pre><code>{{ error }}</code></pre></div> - {% endif %} + </div> - {% endfor %} - </div> + {% endif %} {% endif %} </div> </div> diff --git a/yaksh/templates/yaksh/question.html b/yaksh/templates/yaksh/question.html index 93ed531..3f668cd 100644 --- a/yaksh/templates/yaksh/question.html +++ b/yaksh/templates/yaksh/question.html @@ -194,7 +194,7 @@ function call_skip(url) {% endif %} {% if question.type == "integer" %} - Enter Integer: + Enter Integer:<br/> <input name="answer" type="textbox" id="integer" /> <br/><br/> {% endif %} @@ -206,7 +206,7 @@ function call_skip(url) {% endif %} {% if question.type == "float" %} - Enter Decimal Value : + Enter Decimal Value :<br/> <input name="answer" type="textbox" id="float" /> <br/><br/> {% endif %} |