This commit implements STUD-1490, allowing creation of components on the container page. It also enables the delete and duplicate buttons now that new content can be created that would benefit. Note that it also creates shared functionality for adding components, and refactors the unit page to use it too.
9 lines
215 B
HTML
9 lines
215 B
HTML
<ol class="reorderable-container">
|
|
% for item in items:
|
|
${item['content']}
|
|
% endfor
|
|
</ol>
|
|
% if not xblock_context['read_only']:
|
|
<div class="add-xblock-component new-component-item adding"></div>
|
|
% endif
|