You are here

event_enrollment.html.twig in Open Social 10.1.x

event_enrollment.html.twig Default theme implementation to present Event enrollment data.

This template is used when viewing Event enrollment pages.

Available variables:

  • content: A list of content items. Use 'content' to print all content, or
  • attributes: HTML attributes for the container element.

File

modules/social_features/social_event/templates/event_enrollment.html.twig
View source
  1. {#
  2. /**
  3. * @file event_enrollment.html.twig
  4. * Default theme implementation to present Event enrollment data.
  5. *
  6. * This template is used when viewing Event enrollment pages.
  7. *
  8. *
  9. * Available variables:
  10. * - content: A list of content items. Use 'content' to print all content, or
  11. * - attributes: HTML attributes for the container element.
  12. *
  13. * @see template_preprocess_event_enrollment()
  14. *
  15. * @ingroup themeable
  16. */
  17. #}
  18. <div{{ attributes.addClass('event_enrollment') }}>
  19. {% if content %}
  20. {{- content -}}
  21. {% endif %}
  22. </div>