def lucidTag(self):
        """ Create the sitemap tree """

        # Get a tree dict of all pages:
        sitemap_tree = get_sitemap_tree(self.request)

        # Generate the html page
        # TODO: This nomaly is the job from the django template engine :(
        html = self.get_html(sitemap_tree)

        html = mark_safe(html) # turn djngo auto-escaping off

        context = {
            "sitemap": html,
        }

        # The CSS data should be added into the CMS page:
        self._render_template("SiteMap", context)
    def delete_pages(self):
        """
        Render the delete page html form dialog.
        A sended html form would be
        TODO: We should only display one page level (like sequencing do).
        """
        # Process a sended POST formular:
        self._process_delete_pages()

        # Get the needed data for build the html form:
        page_tree = get_sitemap_tree(self.request)

        # The skip_data contains the default- and the current page.
        skip_data = self.get_delete_skip_data()

        # Generate the HTML form code:
        html = self._get_html(page_tree, skip_data)
        html = mark_safe(html) # turn djngo auto-escaping off

        # Render the Template:
        context = {
            "html_data": html,
        }
        self._render_template("delete_pages", context)