paragraphs-add-dialog.html.twig

Default theme implementation of modal add paragraph dialog template.

Following classes have custom use:

  • paragraphs-add-dialog - is used to wrap the dialog.
  • paragraphs-add-dialog-row - is used to wrap the paragraph type rows.

File

paragraphs/templates/paragraphs-add-dialog.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation of modal add paragraph dialog template.
  5. *
  6. * Following classes have custom use:
  7. * - paragraphs-add-dialog - is used to wrap the dialog.
  8. * - paragraphs-add-dialog-row - is used to wrap the paragraph type rows.
  9. *
  10. *
  11. * @ingroup themeable
  12. */
  13. #}
  14. {{ add }}
  15. <div class="paragraphs-add-dialog js-hide">
  16. <ul class="paragraphs-add-dialog-list">
  17. {% for button in buttons %}
  18. <li class="paragraphs-add-dialog-row">
  19. {{ button }}
  20. </li>
  21. {% endfor %}
  22. </ul>
  23. </div>