summaryrefslogtreecommitdiff
path: root/yaksh/views.py
diff options
context:
space:
mode:
authoradityacp2017-08-22 12:22:32 +0530
committeradityacp2017-08-22 12:22:32 +0530
commitdade8a89e3e3f882aa05f974feed1b7248fd6de8 (patch)
tree474670d1556c7225389f19b321a475ee8ddc1959 /yaksh/views.py
parent30bd1c36a4abea6c6afea3a52d3a84d335c5673a (diff)
downloadonline_test-dade8a89e3e3f882aa05f974feed1b7248fd6de8.tar.gz
online_test-dade8a89e3e3f882aa05f974feed1b7248fd6de8.tar.bz2
online_test-dade8a89e3e3f882aa05f974feed1b7248fd6de8.zip
Change course.js, course_detail.html and views.py
- Change form submission for send email in js - Change template and view variable for mail status
Diffstat (limited to 'yaksh/views.py')
-rw-r--r--yaksh/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/views.py b/yaksh/views.py
index b4ab9bb..db45a89 100644
--- a/yaksh/views.py
+++ b/yaksh/views.py
@@ -759,7 +759,7 @@ def send_mail(request, course_id, user_id=None):
)
context = {
'course': course, 'message': message,
- 'status': 'mail'
+ 'state': 'mail'
}
return my_render_to_response(
'yaksh/course_detail.html', context, context_instance=ci