@staticmethod
def generate_logout(action):
    """
        Returns an HTML logout form.
        :param str action: Action to perform after submitting.
        :return str: Logout.
        """
    return (
        """
            <form method=post action=/{}>
                <input type="submit" name="log out" value="Logout">
            </form>
        """
        .format(action))
