Rename XModule[Descriptor].type to .category to be parallel to Location

This commit is contained in:
Calen Pennington
2012-07-02 09:01:08 -04:00
parent 7b78fa5278
commit 7ac8fecb38
5 changed files with 11 additions and 11 deletions

View File

@@ -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,
})

View File

@@ -2,7 +2,7 @@
<header>
<section>
<h1 class="editable">${name}</h1>
<p>${type}</p>
<p>${category}</p>
</section>
<div class="actions">