diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-10-02 00:35:20 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-10-02 00:35:20 +0200 |
commit | 0e6050122d78ce427715deb0b08ed26fc4af1c5b (patch) | |
tree | 7e49a97c3f7aaee6c4d81e26d7a67e315a89b827 /module/c | |
parent | Add the sad sad boolean. (diff) | |
download | calp-0e6050122d78ce427715deb0b08ed26fc4af1c5b.tar.gz calp-0e6050122d78ce427715deb0b08ed26fc4af1c5b.tar.xz |
Fix XML double attribute error.
Diffstat (limited to '')
-rw-r--r-- | module/calp/html/vcomponent.scm | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/module/calp/html/vcomponent.scm b/module/calp/html/vcomponent.scm index 2497aa04..7a4de873 100644 --- a/module/calp/html/vcomponent.scm +++ b/module/calp/html/vcomponent.scm @@ -150,18 +150,16 @@ `(input (@ (type "checkbox") (style "display:none") (name "wholeday")))) - (input (@ ,@(when (date? start) - '((style "display:none"))) - (type "time") + (input (@ (type "time") (name "dtstart-end") - (style "grid-column:3;grid-row:2") + (style "grid-column:3;grid-row:2;" + ,(when (date? start) "display:none")) (value ,(time->string (as-time start))))) - (input (@ ,@(when (date? end) - '((style "display:none"))) - (type "time") + (input (@ (type "time") (name "dtend-time") - (style "grid-column:3;grid-row:3") + (style "grid-column:3;grid-row:3;" + ,(when (date? end) "display:none")) ,@(when end `((value ,(time->string (as-time end))))) )))) |