Commit cbf4bda1 by Will Daly

Merge pull request #276 from edx/andya/fix-duplicate-buttons

Update HTML for custom edit modal buttons
parents 1b957168 cd89c314
{% load i18n %}
<div id="openassessment-edit">
<script id="metadata-editor-tpl" type="text/template"><!-- empty --></script>
<div id="openassessment-edit" class="editor-with-buttons">
<textarea class="openassessment-editor"></textarea>
<input type="button" class="openassessment-save-button" value="{% trans "Save" %}"/>
<input type="button" class="openassessment-cancel-button" value="{% trans "Cancel" %}"/>
<div class="xblock-actions">
<h3 class="sr">Actions</h3>
<ul>
<li class="action-item">
<a href="#" class="button action-primary openassessment-save-button">{% trans "Save" %}</a>
</li>
<li class="action-item">
<a href="#" class="button openassessment-cancel-button">{% trans "Cancel" %}</a>
</li>
</ul>
</div>
</div>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment