diff options
-rw-r--r-- | yaksh/templates/yaksh/quizzes_user.html | 4 |
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"> |