def display_rows(content, message, is_ratio=True):
    """Return content formatted for display to terminal.

    keyword args:
    content list -- A list of tuples obtained from a SQL query
    message string -- A string used as the title of the formatted output
    is_ratio boolean -- A boolean used to determine if '%' or 'Views'
    should be added to end of line
    """
    display_content = message + ":\n\n"

    for row in content:
        if is_ratio:
            display_content += (" " * 4) + "{0} - {1}%\n".format(*row)
        else:
            display_content += (" " * 4) + "{0} - {1} Views\n".format(*row)

    return display_content