Separate unit page from vertical implementation for editing

This commit is contained in:
Calen Pennington
2012-09-28 23:27:41 -04:00
parent 82a28f069d
commit 8ca10a8356
10 changed files with 196 additions and 235 deletions

View File

@@ -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>