You are here

rate-template.info-description.html.twig in Rate 8

Default theme implementation for voting extra info display.

Available variables:

  • info: Short text to display.
  • description: Longer descriptive info to display.

File

templates/rate-template.info-description.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for voting extra info display.
  5. *
  6. * Available variables:
  7. * - info: Short text to display.
  8. * - description: Longer descriptive info to display.
  9. *
  10. * @ingroup themeable
  11. */
  12. #}
  13. {% if info %}
  14. <div{{ info_attributes }}>{{ info }}</div>
  15. {% endif %}
  16. {% if description %}
  17. <div{{ info_attributes }}>{{ description }}</div>
  18. {% endif %}