paragraphs-sets-add-dialog.html.twig in Paragraphs Sets 8
Same filename and directory in other branches
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
templates/paragraphs-sets-add-dialog.html.twigView source
- {#
- /**
- * @file
- * 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.
- *
- *
- * @ingroup themeable
- */
- #}
- {{ add }}
- <div class="paragraphs-add-dialog js-hide">
- {% if buttons %}
- <label>{{ buttons_title }}</label>
- <ul class="paragraphs-add-dialog-list">
- {% for button in buttons %}
- <li class="paragraphs-add-dialog-row">
- {{ button }}
- </li>
- {% endfor %}
- </ul>
- {% endif %}
- {% if sets %}
- <label>{{ sets_title }}</label>
- <ul class="paragraphs-add-dialog-list">
- {% for set in sets %}
- <li class="paragraphs-add-dialog-row">
- {{ set }}
- </li>
- {% endfor %}
- </ul>
- {% endif %}
- </div>