<%inherit file="/template.html" /> <%namespace name="components" file="/components.html"/> <%namespace name="forms" file="/forms.html"/> <%def name="title()">${_("Variant: %s") % c.text.title|n} <%def name="breadcrumbs()">${h.text.breadcrumbs(c.text)|n} » ${_("Edit variant")} <%block name="main_content">

${_(u"Edit section") if c.section else _(u"Norm: %s") % c.page.title}

${h.field_token()|n} %if c.text.is_head and not c.branch: %else: %endif %if c.text.is_head and h.has_permission('instance.admin') and not c.section: %else: %endif %if c.proposal: %endif %if c.page.formatting: ${components.formatting()} %endif %if can.page.manage(c.page):
%if not c.section and not c.container:
%endif %if not c.container:
%endif %if not c.container and (c.instance.allow_propose_changes or c.page.is_sectionpage()):
%endif <%doc> # uncomment this when it is actually used
%if not c.container:
%else: %endif
%if c.instance.page_index_as_tiles: %endif %if not c.section:
${_("Category")}
%endif %if not c.section: ${tiles.page.select_page(field_name="parent_page", select=c.page.parent, functions=model.Page.PARENT_FUNCTIONS)} %endif %endif %if c.instance.milestones and can.page.manage(c.page) and not c.section: ${tiles.milestone.select(c.page.milestone)} %endif ${components.savebox(c.came_from)} ${components.form_watch(c.page)}