- if collection.count > 0 and collection_actions(collection).present? .panel.collection_actions = collection_actions(collection)