You are here

registration.html.twig in RNG - Events and Registrations 8.2

registration.html.twig Default theme implementation to show a registration.

This template is used when viewing registrations entities.

Available variables:

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

File

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