aboutsummaryrefslogtreecommitdiff
path: root/module/calp/html
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2021-11-26 15:32:41 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2021-11-26 15:32:41 +0100
commit1df15b2ceaef09b48a39aa6046b577da11ea2f72 (patch)
treecf8dd5340703961c53daae1b2e7d0535d785f6d4 /module/calp/html
parentSlightly better error hnadling in directory-table. (diff)
downloadcalp-1df15b2ceaef09b48a39aa6046b577da11ea2f72.tar.gz
calp-1df15b2ceaef09b48a39aa6046b577da11ea2f72.tar.xz
Got categories working.
Diffstat (limited to 'module/calp/html')
-rw-r--r--module/calp/html/vcomponent.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/module/calp/html/vcomponent.scm b/module/calp/html/vcomponent.scm
index 23884b58..8a301e04 100644
--- a/module/calp/html/vcomponent.scm
+++ b/module/calp/html/vcomponent.scm
@@ -265,6 +265,14 @@
; ,(prop ev 'DESCRIPTION)
))
+ ,@(with-label
+ "Kategorier"
+ `(input-list
+ (@ (name "categories")
+ (data-property "categories"))
+ (input (@ (type "text")
+ (placeholder "Kattegori")))))
+
;; ,@(with-label
;; "Kategorier"
;; ;; It would be better if these input-list's worked on the same