Legend in multi-form can be optional
This commit is contained in:
parent
8d9fad642d
commit
0b2c8b1899
1 changed files with 1 additions and 1 deletions
|
@ -494,7 +494,7 @@ See also: extract-question-components, split-list-by-keyword, resolve-input-and-
|
||||||
`(spinneret:with-html
|
`(spinneret:with-html
|
||||||
,@(loop for q in body
|
,@(loop for q in body
|
||||||
for (ask group style choices) = (multiple-value-list (extract-question-components q))
|
for (ask group style choices) = (multiple-value-list (extract-question-components q))
|
||||||
collect `(:fieldset (:legend ,ask)
|
collect `(:fieldset ,(when ask `(:legend ,ask))
|
||||||
(:ol ,@(when style (list :style style))
|
(:ol ,@(when style (list :style style))
|
||||||
,@(loop for choice in (split-list-by-keyword choices)
|
,@(loop for choice in (split-list-by-keyword choices)
|
||||||
for (type values) = (multiple-value-list (resolve-input-and-choice choice))
|
for (type values) = (multiple-value-list (resolve-input-and-choice choice))
|
||||||
|
|
Loading…
Add table
Reference in a new issue