'Get information about any POST forms in the template.
Returns [(linenumber, csrf_token added)]'

def post_form_info(self):

    matches = []
    for (ln, line) in enumerate(self.content.split('\n')):
        m = _POST_FORM_RE.search(line)
        if (m is not None):
            matches.append(((ln + 1), (_TOKEN_RE.search(line) is not None)))
    return matches
