/upstream/templates/editpage.tmpl
Type: /type/template
body: value: $def with (page, preview=False)

$putctx("robots", "noindex,nofollow")

$ edit = thingedit(page)
$var title: $:edit.title

$if preview:
    <div class="clearfix"></div>
    <div id="preview">
        <h2>$_("Preview")</h2>
    $:thingview(page)
    </div>
    <div class="clearfix"></div>

<div id="edit">
$:edit
</div>