Commit 186a4582 by Piotr Mitros

Studio hack #1

parent 4ea3cd5c
...@@ -70,7 +70,7 @@ class ConceptXBlock(XBlock): ...@@ -70,7 +70,7 @@ class ConceptXBlock(XBlock):
return frag return frag
def studio_view(self, context=None): def studio_view(self, context=None):
return Fragment("<div></div>") return Fragment(self.resource_string("static/html/studio_hack.html"))
# TO-DO: change this to create the scenarios you'd like to see in the # TO-DO: change this to create the scenarios you'd like to see in the
# workbench while developing your XBlock. # workbench while developing your XBlock.
......
{% load i18n %}
<div id="concept-edit">
<script id="metadata-editor-tpl" type="text/template"><!-- empty --></script>
<textarea class="concept-editor"></textarea>
<input type="button" class="concept-save-button" value="{% trans 'Save' %}"/>
<input type="button" class="concept-cancel-button" value="{% trans 'Cancel' %}"/>
</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