Fix up cms after changing html and sequence descriptors to use metadata

This commit is contained in:
Calen Pennington
2012-07-02 10:18:24 -04:00
parent 3cf29af8fe
commit e0e42ae8ac
2 changed files with 4 additions and 4 deletions

View File

@@ -33,8 +33,8 @@
</section>
</section>
<textarea name="" class="edit-box" rows="8" cols="40">${module.definition['data']['text']}</textarea>
<div class="preview">${module.definition['data']['text']}</div>
<textarea name="" class="edit-box" rows="8" cols="40">${module.definition['data']}</textarea>
<div class="preview">${module.definition['data']}</div>
<div class="actions wip">
<a href="" class="save-update">Save &amp; Update</a>

View File

@@ -40,8 +40,8 @@
<header>
<h1><a href="#" class="module-edit" id="${week.location.url()}">${week.name}</a></h1>
<ul>
% if week.goals:
% for goal in week.goals:
% if 'goals' in week.metadata:
% for goal in week.metadata['goals']:
<li class="goal editable">${goal}</li>
% endfor
% else: