From 7b570420cab012c764f8dd0d044cc16df678ff2b Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Wed, 4 Oct 2023 11:07:01 +0530 Subject: [PATCH] fix: content collapse --- lms/www/batch/edit.html | 41 +++++++++++++++++++--------------------- lms/www/batch/learn.html | 2 +- 2 files changed, 20 insertions(+), 23 deletions(-) diff --git a/lms/www/batch/edit.html b/lms/www/batch/edit.html index 5f47b3a0..60b886fa 100644 --- a/lms/www/batch/edit.html +++ b/lms/www/batch/edit.html @@ -81,28 +81,6 @@ -
- - -
-
-
- - {% if lesson.body %} -
{{ lesson.body }}
- {% endif %} -
-
+
+
+
+ {{ _("Content") }} +
+
+ {{ _("Add your lesson content here") }} +
+
+ +
+
+
+ + {% if lesson.body %} +
{{ lesson.body }}
+ {% endif %} +
+ {% endmacro %} diff --git a/lms/www/batch/learn.html b/lms/www/batch/learn.html index 60279848..48c8376e 100644 --- a/lms/www/batch/learn.html +++ b/lms/www/batch/learn.html @@ -158,7 +158,7 @@ {% if instructor_notes and (is_moderator or instructor or is_evaluator) %}