Change details macro so it takes a tuple of ("Display string", "attribute)
Change /details accordingly