def status_button_class(x):
    """A little helper function that takes a status value and returns a
    bootstrap button class so that report follow up are displayed
    consistently across the site.

    Options here reflect status choices in tfat.models:

    STATUS_CHOICES = [
        # (0, "Not Requested"),
        ("requested", "Requested"),
        ("initialized", "Initialized"),
        ("completed", "Completed"),
    ]

    """

    if x == "requested":
        btnClass = "btn-danger"
    elif x == "initialized":
        btnClass = "btn-warning"
    elif x == "completed":
        btnClass = "btn-success"
    else:
        btnClass = "btn-default"

    return btnClass