summaryrefslogtreecommitdiff
path: root/yaksh/templates
diff options
context:
space:
mode:
authoradityacp2020-03-28 17:18:34 +0530
committeradityacp2020-03-28 17:18:34 +0530
commitf5d0545d45eccfc100b337cea45c5a6805deca0a (patch)
treeea21e0f77be67894d38171925d0809109da627e7 /yaksh/templates
parentb835440b1e2ca0059e95b6848cb87cc5724ee967 (diff)
downloadonline_test-f5d0545d45eccfc100b337cea45c5a6805deca0a.tar.gz
online_test-f5d0545d45eccfc100b337cea45c5a6805deca0a.tar.bz2
online_test-f5d0545d45eccfc100b337cea45c5a6805deca0a.zip
Change in course modules template, views
- Remove redirect url from views - Allow to edit module
Diffstat (limited to 'yaksh/templates')
-rw-r--r--yaksh/templates/yaksh/course_added_modules.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/yaksh/templates/yaksh/course_added_modules.html b/yaksh/templates/yaksh/course_added_modules.html
index 7ea55e8..9055340 100644
--- a/yaksh/templates/yaksh/course_added_modules.html
+++ b/yaksh/templates/yaksh/course_added_modules.html
@@ -15,7 +15,9 @@
{% for module in modules %}
<div class="card">
<div class="card-header">
- {{module.name}}
+ <a href="{% url 'yaksh:edit_module' course.id module.id %}">
+ <i class="fa fa-edit"></i>&nbsp;{{module.name}}
+ </a>
</div>
<div class="card-body">
<div class="row">