From 66fc59e724a2a92a8f0b372e64514f42695e66bf Mon Sep 17 00:00:00 2001 From: mahesh Date: Thu, 17 Aug 2017 15:56:04 +0530 Subject: Fixes in question template, submit buttons properly rendered in w.r.t. question type --- yaksh/templates/yaksh/question.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'yaksh') 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 %}
- {% if question.type == "mcq" or "mcc" or "integer" or "float" or "string" %} -
  
+ {% if question.type == "mcq" or question.type == "mcc" or question.type == "integer" or question.type == "float" or question.type == "string" %} +
   {% elif question.type == "upload" %}
   -- cgit