Aks if surveys are available
This commit is contained in:
parent
00599f0751
commit
3fcf6ac0b1
1 changed files with 15 additions and 14 deletions
|
@ -20,6 +20,7 @@
|
|||
(:a :class "btn btn-primary"
|
||||
:href "/new-survey"
|
||||
"New Survey")))
|
||||
(when surveys
|
||||
(:h2 :class "mb-3" "Overview")
|
||||
(:ol :class "list-group list-group-numbered"
|
||||
(loop for survey in surveys
|
||||
|
@ -33,4 +34,4 @@
|
|||
title)
|
||||
(if description
|
||||
(:span description)
|
||||
nil))))))))
|
||||
nil)))))))))
|
||||
|
|
Loading…
Add table
Reference in a new issue