summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormahesh2017-03-22 12:58:04 +0530
committermahesh2017-03-22 12:58:04 +0530
commit99b0bd05370e92ee3663354e5ca9122b75cfb2a7 (patch)
tree644c7ff9a21c8f7b14519fe84492341a58099c4c
parentd974d4db89af71dd844d76849678f287eedc75ce (diff)
downloadonline_test-99b0bd05370e92ee3663354e5ca9122b75cfb2a7.tar.gz
online_test-99b0bd05370e92ee3663354e5ca9122b75cfb2a7.tar.bz2
online_test-99b0bd05370e92ee3663354e5ca9122b75cfb2a7.zip
changed input type to number in questions.html
-rw-r--r--yaksh/templates/yaksh/question.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/templates/yaksh/question.html b/yaksh/templates/yaksh/question.html
index 45a524d..0dad59d 100644
--- a/yaksh/templates/yaksh/question.html
+++ b/yaksh/templates/yaksh/question.html
@@ -196,7 +196,7 @@ function call_skip(url)
{% if question.type == "integer" %}
Enter Integer:<br/>
- <input name="answer" type="textbox" id="integer" />
+ <input name="answer" type="number" id="integer" />
<br/><br/>
{% endif %}
@@ -208,7 +208,7 @@ function call_skip(url)
{% if question.type == "float" %}
Enter Decimal Value :<br/>
- <input name="answer" type="textbox" id="float" />
+ <input name="answer" type="number" step="any" id="float" />
<br/><br/>
{% endif %}