Commit ba872321d54cbec4bd1a444dab61ac7a2cbced6f
1 parent
7b17b6e3
Exists in
master
and in
5 other branches
fixed edit and remove buttons for courses teacher view
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
courses/templates/course/view.html
... | ... | @@ -74,8 +74,8 @@ |
74 | 74 | <i class="material-icons">more_horiz</i> |
75 | 75 | </button> |
76 | 76 | <ul class="dropdown-menu" aria-labelledby="dropdownMenu1"> |
77 | - <li><a href="javascript:void(0)"><i class="material-icons">create</i> Edit</a></li> | |
78 | - <li><a href="javascript:void(0)"><i class="material-icons">delete_sweep</i> Remove</a></li> | |
77 | + <li><a href="{% url 'course:update' course.slug %}"><i class="material-icons">create</i> Edit</a></li> | |
78 | + <li><a href="{% url 'course:delete' course.slug %}"><i class="material-icons">delete_sweep</i> Remove</a></li> | |
79 | 79 | </ul> |
80 | 80 | |
81 | 81 | </div> | ... | ... |