**Description
As a teacher, the panel for editing content types is only displayed in edit mode. By deactivating the edit mode, the panel disappears. This makes sense, as you only want to edit the activity in this mode.
However, some teachers would like to have a kind of preview for the student view. (De)activating the edit mode does not seem to be very useful, especially as the option is not very intuitive.
Idea: Make the edit panel collapsible and expandable. The familiar arrows from the block area could be used for this.
**Goal
to make the edit panel easy to expand and collapse.
the previous functionality should remain unaffected.
Test instructions
create Mootimeter activity.
switch to edit mode --> the corresponding panel is displayed
Before patch: the panel only disappears by deactivating the edit mode.
After patch: User has the option of folding the panel in and out.
**Description As a teacher, the panel for editing content types is only displayed in edit mode. By deactivating the edit mode, the panel disappears. This makes sense, as you only want to edit the activity in this mode.
However, some teachers would like to have a kind of preview for the student view. (De)activating the edit mode does not seem to be very useful, especially as the option is not very intuitive.
Idea: Make the edit panel collapsible and expandable. The familiar arrows from the block area could be used for this.![arrow](https://github.com/mebis-lp/moodle-mod_mootimeter/assets/14368866/d6906118-a40f-4938-89b2-e45dc46ca298)
**Goal
Test instructions