#if($isGuest)

### $r.translate("guest.no.edit")

#elseif(!$lockEntry.isSuccess())

### $r.translate("page.locked", [$page.getPageName(), $lockEntry.getOwner().getName()])

#else ## normal edit workflow #if ($r.available("versionDisplay"))
#if($isDirty) $r.translate("preview.edit",$page.getPageName()) #end $r.render("preview.close")
$r.render("versionDisplay")
#end

# $r.translate("edit"):$page.getPageName().replace("_"," ") #if($mayDeleteArticle) $r.render("delete.page")
#end

$r.helpWithWrapper("ced-wiked.html","help.hover.wikisyntax")
#if($linkList.size() > 0)
#end #if($fileList.size() > 0)
#end ## EDIT FORM
$r.render('editForm')
#set ($content="$r.translate('upload.example')
$r.render('manage.media')$r.render('fileUplCtr')") #o_openclose("upload" "$r.translate('media.upload') $r.translate('media.insert')" $content false "o_opened_div_plain" "o_closed_div") #end