Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / modules / contrib / paragraphs / templates / paragraphs-add-dialog.html.twig
diff --git a/web/modules/contrib/paragraphs/templates/paragraphs-add-dialog.html.twig b/web/modules/contrib/paragraphs/templates/paragraphs-add-dialog.html.twig
new file mode 100644 (file)
index 0000000..9706712
--- /dev/null
@@ -0,0 +1,23 @@
+{#
+/**
+ * @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">
+    <ul class="paragraphs-add-dialog-list">
+    {% for button in buttons %}
+      <li class="paragraphs-add-dialog-row">
+        {{ button }}
+      </li>
+    {% endfor %}
+  </ul>
+</div>