You are here

generated-files.html.twig in Module Builder 8.3

Default theme implementation to display a generated_files.

Available variables:

  • filename_list: List of file checkbox elements
  • code: list of file code textarea elements

File

templates/generated-files.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation to display a generated_files.
  5. *
  6. * Available variables:
  7. * - filename_list: List of file checkbox elements
  8. * - code: list of file code textarea elements
  9. *
  10. * @ingroup themeable
  11. */
  12. #}
  13. <section class="generated-files">
  14. <ul>
  15. {% for filename in filename_list %}
  16. <li>{{ filename }}</li>
  17. {% endfor %}
  18. </ul>
  19. <div>
  20. {% for file_code in code %}
  21. <div class="generated-code">
  22. {{ file_code }}
  23. </div>
  24. {% endfor %}
  25. </div>
  26. </section>