Fix up cms after changing html and sequence descriptors to use metadata
This commit is contained in:
@@ -33,8 +33,8 @@
|
|||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<textarea name="" class="edit-box" rows="8" cols="40">${module.definition['data']['text']}</textarea>
|
<textarea name="" class="edit-box" rows="8" cols="40">${module.definition['data']}</textarea>
|
||||||
<div class="preview">${module.definition['data']['text']}</div>
|
<div class="preview">${module.definition['data']}</div>
|
||||||
|
|
||||||
<div class="actions wip">
|
<div class="actions wip">
|
||||||
<a href="" class="save-update">Save & Update</a>
|
<a href="" class="save-update">Save & Update</a>
|
||||||
|
|||||||
@@ -40,8 +40,8 @@
|
|||||||
<header>
|
<header>
|
||||||
<h1><a href="#" class="module-edit" id="${week.location.url()}">${week.name}</a></h1>
|
<h1><a href="#" class="module-edit" id="${week.location.url()}">${week.name}</a></h1>
|
||||||
<ul>
|
<ul>
|
||||||
% if week.goals:
|
% if 'goals' in week.metadata:
|
||||||
% for goal in week.goals:
|
% for goal in week.metadata['goals']:
|
||||||
<li class="goal editable">${goal}</li>
|
<li class="goal editable">${goal}</li>
|
||||||
% endfor
|
% endfor
|
||||||
% else:
|
% else:
|
||||||
|
|||||||
Reference in New Issue
Block a user