#if ($contentType == "page")
    #set ($useVersionComment = true)
    #set ($useContentPermissions = true)
    #set ($useLocationEditor = true)
#end

#bodytag ("Component" "template='content-editor.vm'" "theme='custom'")
    #param ("formName" "editpageform")
    #param ("formAction" "doedit${contentType}.action")
    #param ("contentType" $contentType)
    #param ("useMinorEdit" "true")
    #param ("mode" "edit")
    #param ("useVersionComment" $useVersionComment)
    #param ("useContentPermissions" $useContentPermissions)
    #param ("useLocationEditor" $useLocationEditor)
#end
