From cce46676de7839896457559e019f1ef8e7e284e7 Mon Sep 17 00:00:00 2001 From: Marcus Kammer Date: Sat, 26 Aug 2023 10:03:46 +0200 Subject: [PATCH] Fix docstring --- src/component/questionnaire.lisp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/component/questionnaire.lisp b/src/component/questionnaire.lisp index f795236..aa3e7df 100644 --- a/src/component/questionnaire.lisp +++ b/src/component/questionnaire.lisp @@ -103,14 +103,14 @@ string representing the URL path. QUESTIONS: A series of plists, each representing a question. Each plist should 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 -by a list of answer options. +should be a keyword specifying the type of input elements (e.g. :radio), +followed by a list of answer options. Example: - (questionnaire-1 \"/submit\" - (:ask \"How old are you?\" - :group \"age\" - :choices (:radio \"18-24\" \"25-34\" \"35-44\")))" + (questionnaire \"/submit\" + (:ask \"How old are you?\" + :group \"age\" + :choices (:radio \"18-24\" \"25-34\" \"35-44\")))" `(spinneret:with-html (:form :action ,action :method "get"