summaryrefslogtreecommitdiff
path: root/yaksh/templates/yaksh/add_topic.html
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/templates/yaksh/add_topic.html')
-rw-r--r--yaksh/templates/yaksh/add_topic.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/templates/yaksh/add_topic.html b/yaksh/templates/yaksh/add_topic.html
index 6f88a88..8c8fdb3 100644
--- a/yaksh/templates/yaksh/add_topic.html
+++ b/yaksh/templates/yaksh/add_topic.html
@@ -1,7 +1,7 @@
{% if topic_id %}
-<form class="form-group" method="POST" action="{% url 'yaksh:edit_topic' course_id lesson_id topic_id %}" id="topic-form">
+<form class="form-group" method="POST" action="{% url 'yaksh:edit_topic' content_type course_id lesson_id topic_id %}" id="topic-form">
{% else %}
-<form class="form-group" method="POST" action="{% url 'yaksh:add_topic' course_id lesson_id %}" id="topic-form">
+<form class="form-group" method="POST" action="{% url 'yaksh:add_topic' content_type course_id lesson_id %}" id="topic-form">
{% endif %}
{% csrf_token %}
{{ form.as_p }}