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"
|
(:a :class "btn btn-primary"
|
||||||
:href "/new-survey"
|
:href "/new-survey"
|
||||||
"New Survey")))
|
"New Survey")))
|
||||||
|
(when surveys
|
||||||
(:h2 :class "mb-3" "Overview")
|
(:h2 :class "mb-3" "Overview")
|
||||||
(:ol :class "list-group list-group-numbered"
|
(:ol :class "list-group list-group-numbered"
|
||||||
(loop for survey in surveys
|
(loop for survey in surveys
|
||||||
|
@ -33,4 +34,4 @@
|
||||||
title)
|
title)
|
||||||
(if description
|
(if description
|
||||||
(:span description)
|
(:span description)
|
||||||
nil))))))))
|
nil)))))))))
|
||||||
|
|
Loading…
Add table
Reference in a new issue