def title
      resource_title = resource.try(:resource_title) || resource.try(:title)
      return if resource_title.blank?

      if resource_title.is_a?(String)
        resource_title
      elsif resource_title.is_a?(Hash)
        translated_attribute(resource_title)
      end
    end
def title
      resource_title = resource.try(:resource_title) || resource.try(:title)
      return if resource_title.blank?

      if resource_title.is_a?(String)
        resource_title
      elsif resource_title.is_a?(Hash)
        translated_attribute(resource_title)
      end
    end
The title to show at the card.

 The card will also be displayed OK if there's no title.