diff --git a/yaksh/templates/yaksh/moderator_dashboard.html b/yaksh/templates/yaksh/moderator_dashboard.html index 64167f835..0468ed9db 100644 --- a/yaksh/templates/yaksh/moderator_dashboard.html +++ b/yaksh/templates/yaksh/moderator_dashboard.html @@ -32,24 +32,26 @@
-
Click on the button given below to add a new course.
- -
Click on the button to Create a Demo course.
- - - Help + + Add New Course + + + Create Demo Course + + + What's This +
- -

+
{% if msg %} -

{{ msg }}

+

{{ msg }}

{% endif %}
{% if trial_paper %} diff --git a/yaksh/views.py b/yaksh/views.py index bdb6f49b8..2adc2c399 100644 --- a/yaksh/views.py +++ b/yaksh/views.py @@ -183,6 +183,8 @@ def add_question(request, question_id=None): question = qform.save(commit=False) question.user = user question.save() + # many-to-many field save function used to save the tags + qform.save_m2m() for formset in formsets: if formset.is_valid(): formset.save()