feat: edit existing lesson
This commit is contained in:
@@ -75,7 +75,7 @@ const save_course = (e) => {
|
||||
indicator: "green",
|
||||
});
|
||||
setTimeout(() => {
|
||||
window.location.href = `/courses/${data.message}`;
|
||||
window.location.href = `/courses/${data.message}/outline`;
|
||||
}, 1000);
|
||||
},
|
||||
});
|
||||
|
||||
@@ -52,9 +52,12 @@
|
||||
{{ chapter.title }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% if chapter.description %}
|
||||
<div class="mb-2 ml-5 chapter-description">
|
||||
{{ chapter.description }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% for lesson in lessons %}
|
||||
<div class="outline-lesson level">
|
||||
|
||||
Reference in New Issue
Block a user