Fix docstring

This commit is contained in:
Marcus Kammer 2023-08-26 10:03:46 +02:00
parent 7f9730c33e
commit cce46676de
Signed by: marcuskammer
GPG key ID: C374817BE285268F

View file

@ -103,14 +103,14 @@ string representing the URL path.
QUESTIONS: A series of plists, each representing a question. Each plist should QUESTIONS: A series of plists, each representing a question. Each plist should
contain the keys :ask, :group, and :choices. The first element of :choices contain the keys :ask, :group, and :choices. The first element of :choices
should be a keyword specifying the type of input elements (e.g. :radio), followed should be a keyword specifying the type of input elements (e.g. :radio),
by a list of answer options. followed by a list of answer options.
Example: Example:
(questionnaire-1 \"/submit\" (questionnaire \"/submit\"
(:ask \"How old are you?\" (:ask \"How old are you?\"
:group \"age\" :group \"age\"
:choices (:radio \"18-24\" \"25-34\" \"35-44\")))" :choices (:radio \"18-24\" \"25-34\" \"35-44\")))"
`(spinneret:with-html `(spinneret:with-html
(:form :action ,action (:form :action ,action
:method "get" :method "get"