diff sat_templates/templates/bulma/editor/tag.html @ 319:45499870bbf4

bulma: new `editor` templates: Those template design element needed for editing items such as blog posts. Elements for a "Tags Editor" are implemented.
author Goffi <goffi@goffi.org>
date Thu, 29 Apr 2021 15:55:14 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sat_templates/templates/bulma/editor/tag.html	Thu Apr 29 15:55:14 2021 +0200
@@ -0,0 +1,10 @@
+{# display a tag element which can be removed
+
+    if the locale differs from item language, it will be totally reduced, and will need a click to be displayed
+
+    @variable label:
+#}
+<span class="tag">
+    {{label}}
+    <button class="delete click_to_delete"></button>
+</span>