Rename XModule[Descriptor].type to .category to be parallel to Location
This commit is contained in:
@@ -22,7 +22,7 @@ def edit_item(request):
|
||||
return render_to_response('unit.html', {
|
||||
'contents': item.get_html(),
|
||||
'js_module': item.js_module_name(),
|
||||
'type': item.type,
|
||||
'category': item.category,
|
||||
'name': item.name,
|
||||
})
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<header>
|
||||
<section>
|
||||
<h1 class="editable">${name}</h1>
|
||||
<p>${type}</p>
|
||||
<p>${category}</p>
|
||||
</section>
|
||||
|
||||
<div class="actions">
|
||||
|
||||
Reference in New Issue
Block a user