Fix up cms after changing html and sequence descriptors to use metadata
This commit is contained in:
@@ -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 & Update</a>
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user