@classmethod
def get_action_label(cls):
    """
        Get the action label for this view

        Can be called on class or instance
        """
    if cls.action_label:
        return cls.action_label
    name = getattr(cls, '__name__', type(cls).__name__)
    if name.endswith('View'):
        name = name[:-4]
    return name.replace('_', ' ').title()
