Separate unit page from vertical implementation for editing
This commit is contained in:
@@ -1,14 +1,3 @@
|
||||
<div class="xmodule_edit xmodule_${editor_class} ${editable_class}" data-type="${editor_type}" data-id="${location}">
|
||||
<%include file="xmodule_display.html"/>
|
||||
% if editable_data:
|
||||
<div class="component-actions" data-id="${location}">
|
||||
<a href="#" class="edit-button"><span class="edit-icon white"></span>Edit</a>
|
||||
<a href="#" class="delete-button"><span class="delete-icon white"></span>Delete</a>
|
||||
</div>
|
||||
<div class="component-editor" data-id="${location}">
|
||||
${editor_content}
|
||||
<a href="#" class="save-button">Save</a>
|
||||
<a href="#" class="cancel-button">Cancel</a>
|
||||
</div>
|
||||
% endif
|
||||
</div>
|
||||
<section class="xmodule_edit xmodule_${class_}" data-type="${module_name}">
|
||||
${content}
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user