summaryrefslogtreecommitdiff
path: root/yaksh/templates
diff options
context:
space:
mode:
authoradityacp2020-01-28 18:30:10 +0530
committeradityacp2020-01-28 18:30:10 +0530
commit08cb161d03d4d07345397e57d08d3597a5926282 (patch)
treec9273064e7e8cba99d718105300bba405b1346cb /yaksh/templates
parenteaf4873ff71eb3655a82f24d05e00881040a4326 (diff)
downloadonline_test-08cb161d03d4d07345397e57d08d3597a5926282.tar.gz
online_test-08cb161d03d4d07345397e57d08d3597a5926282.tar.bz2
online_test-08cb161d03d4d07345397e57d08d3597a5926282.zip
Fix url pattern
Diffstat (limited to 'yaksh/templates')
-rw-r--r--yaksh/templates/yaksh/quizzes_user.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/templates/yaksh/quizzes_user.html b/yaksh/templates/yaksh/quizzes_user.html
index a1ee600..4272ac3 100644
--- a/yaksh/templates/yaksh/quizzes_user.html
+++ b/yaksh/templates/yaksh/quizzes_user.html
@@ -108,9 +108,9 @@
{% if course.data.active %}
{% if course.data.is_active_enrollment %}
{% if course.data.is_self_enroll %}
- <a class="btn btn-primary" href="{{ URL_ROOT }}/exam/self_enroll/{{ course.data.id }}">Enroll</a>
+ <a class="btn btn-primary" href="{% url 'yaksh:self_enroll' course.data.id %}">Enroll</a>
{% else %}
- <a class="btn btn-primary" href="{{ URL_ROOT }}/exam/enroll_request/{{ course.data.id }}">Enroll</a>
+ <a class="btn btn-primary" href="{% url 'yaksh:enroll_request' course.data.id %}">Enroll</a>
{% endif %}
{% else %}
<span class="badge badge-danger badge-pill">