diff options
author | mahesh | 2017-08-17 15:56:04 +0530 |
---|---|---|
committer | mahesh | 2017-08-17 15:56:04 +0530 |
commit | 66fc59e724a2a92a8f0b372e64514f42695e66bf (patch) | |
tree | d038cf7fc327f0b5ac372b054f921bcb4e0faf53 /yaksh/templates | |
parent | 67f3119a2e27673694db907d21f501bc8247fce1 (diff) | |
download | online_test-66fc59e724a2a92a8f0b372e64514f42695e66bf.tar.gz online_test-66fc59e724a2a92a8f0b372e64514f42695e66bf.tar.bz2 online_test-66fc59e724a2a92a8f0b372e64514f42695e66bf.zip |
Fixes in question template, submit buttons properly rendered in w.r.t. question type
Diffstat (limited to 'yaksh/templates')
-rw-r--r-- | yaksh/templates/yaksh/question.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/templates/yaksh/question.html b/yaksh/templates/yaksh/question.html index ee33523..74dd8c3 100644 --- a/yaksh/templates/yaksh/question.html +++ b/yaksh/templates/yaksh/question.html @@ -238,8 +238,8 @@ function call_skip(url) {% endif %} <div class="from-group"> - {% if question.type == "mcq" or "mcc" or "integer" or "float" or "string" %} - <br><button class="btn btn-primary" type="submit" name="check" id="check">Submit Answer</button> <br/> + {% if question.type == "mcq" or question.type == "mcc" or question.type == "integer" or question.type == "float" or question.type == "string" %} + <br><button class="btn btn-primary" type="submit" name="check" id="check">Submit Answer</button> {% elif question.type == "upload" %} <br><button class="btn btn-primary" type="submit" name="check" id="check" onClick="return validate();">Upload</button> |