%inherit file="base.html" />
<%! from django.core.urlresolvers import reverse %>
<%namespace name="units" file="widgets/units.html" />
<%block name="title">Individual Unit%block>
<%block name="bodyclass">is-signedin course unit%block>
<%block name="jsextra">
%block>
<%block name="content">
You are editing a draft.
% if published_date:
This unit was originally published on ${published_date}.
% endif
View the Live Version
Display Name:
% for id in components:
% endfor
% for type, templates in sorted(component_templates.items()):
% if len(templates) > 1 or type == 'advanced':
% if type == "problem":
% endif
% for name, location, has_markdown in templates:
% if has_markdown or type != "problem":
${name}
% endif
%endfor
% if type == "problem":
% for name, location, has_markdown in templates:
% if not has_markdown:
${name}
% endif
% endfor
% endif
Cancel
% endif
% endfor
%block>