diff options
author | mahesh | 2017-03-22 12:58:04 +0530 |
---|---|---|
committer | mahesh | 2017-03-22 12:58:04 +0530 |
commit | 99b0bd05370e92ee3663354e5ca9122b75cfb2a7 (patch) | |
tree | 644c7ff9a21c8f7b14519fe84492341a58099c4c /yaksh/templates | |
parent | d974d4db89af71dd844d76849678f287eedc75ce (diff) | |
download | online_test-99b0bd05370e92ee3663354e5ca9122b75cfb2a7.tar.gz online_test-99b0bd05370e92ee3663354e5ca9122b75cfb2a7.tar.bz2 online_test-99b0bd05370e92ee3663354e5ca9122b75cfb2a7.zip |
changed input type to number in questions.html
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 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 %} |