From 5967e0e1cce19d356ba622719b332f776127b277 Mon Sep 17 00:00:00 2001
From: ankitjavalkar
Date: Thu, 28 Apr 2016 18:19:09 +0530
Subject: - Add formsets to Add question templates - add/modify test cases in
place when adding questions
---
yaksh/templates/yaksh/add_question.html | 27 +++++++++++-----------
yaksh/templates/yaksh/add_testcase.html | 39 --------------------------------
yaksh/templates/yaksh/show_testcase.html | 31 -------------------------
3 files changed, 13 insertions(+), 84 deletions(-)
delete mode 100644 yaksh/templates/yaksh/add_testcase.html
delete mode 100644 yaksh/templates/yaksh/show_testcase.html
(limited to 'yaksh/templates')
diff --git a/yaksh/templates/yaksh/add_question.html b/yaksh/templates/yaksh/add_question.html
index 44aca9d..bba8db2 100644
--- a/yaksh/templates/yaksh/add_question.html
+++ b/yaksh/templates/yaksh/add_question.html
@@ -1,6 +1,5 @@
{% extends "manage.html" %}
-
{% block subtitle %}Add Question{% endblock %}
{% block css %}
@@ -30,23 +29,23 @@
-
test_case_type: | {{ form.test_case_type }}{{ form.test_case_type.errors }}
-
-
+ |
Test Case Type: | {{ form.test_case_type }}{{ form.test_case_type.errors }}
+
+
+
- {% if question_id %}
-
- {% endif %}
{% endblock %}
diff --git a/yaksh/templates/yaksh/add_testcase.html b/yaksh/templates/yaksh/add_testcase.html
deleted file mode 100644
index 7e29765..0000000
--- a/yaksh/templates/yaksh/add_testcase.html
+++ /dev/null
@@ -1,39 +0,0 @@
-{% extends "manage.html" %}
-
-{% block subtitle %}Add Test Case{% endblock %}
-
-{% block css %}
-
-{% endblock %}
-
-{% block manage %}
-
-{% endblock %}
-
-
diff --git a/yaksh/templates/yaksh/show_testcase.html b/yaksh/templates/yaksh/show_testcase.html
deleted file mode 100644
index b9cb55f..0000000
--- a/yaksh/templates/yaksh/show_testcase.html
+++ /dev/null
@@ -1,31 +0,0 @@
-{% extends "manage.html" %}
-
-{% block title %} Test Case List {% endblock title %}
-
-{% block script %}
-
-{% endblock %}
-
-{% block subtitle %} Test Case List {% endblock %}
-{% block manage %}
-{% if not test_cases %}
- No Test Cases Available for This Question.
-
-{% endif %}
-
-
-{% if test_cases %}
-
-{% endif %}
-
-{% endblock %}
--
cgit
|