'Render a page.'

def render(self, request, message=None, css_class='alert', form_contents=None, status='200    OK', title='Python    OpenID    Consumer'):

    response_headers = [('Content-type', 'text/html')]
    request['start'](str(status), response_headers)
    self.page_header(request, title)
    if message:
        request['body'].append(("<div    class='%s'>" % (css_class,)))
        request['body'].append(message)
        request['body'].append('</div>')
    self.page_footer(request, form_contents)
    return request['body']
