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.twigView source
- {#
- /**
- * @file
- * Default theme implementation for voting extra info display.
- *
- * Available variables:
- * - info: Short text to display.
- * - description: Longer descriptive info to display.
- *
- * @ingroup themeable
- */
- #}
- {% if info %}
- <div{{ info_attributes }}>{{ info }}</div>
- {% endif %}
- {% if description %}
- <div{{ info_attributes }}>{{ description }}</div>
- {% endif %}