Commit 90598c77 by tasawernawaz Committed by Tasawer Nawaz

Fixed course run edit url

parent 03cdfa83
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div class="course-widgets"> <div class="course-widgets">
{% if can_edit %} {% if can_edit %}
{% url 'publisher:publisher_courses_edit' pk=object.id as edit_page_url %} {% url 'publisher:publisher_course_runs_edit' pk=object.id as edit_page_url %}
<a href="{% if add_warning_popup %}#{% else %}{{ edit_page_url }}{% endif %}" class="btn btn-neutral btn-courserun-edit"> <a href="{% if add_warning_popup %}#{% else %}{{ edit_page_url }}{% endif %}" class="btn btn-neutral btn-courserun-edit">
{% trans "EDIT" %} {% trans "EDIT" %}
</a> </a>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment