'Render the main page editor interface.'

@web.expose
@web.require_login('edit    pages')
def edit_content(self, trans, id):

    id = self.decode_id(id)
    page = trans.sa_session.query(model.Page).get(id)
    assert (page.user == trans.user)
    return trans.fill_template('page/editor.mako', page=page)
