From 400ee4bbe11da9bbdbc67b70d9f878d3d3a378cb Mon Sep 17 00:00:00 2001 From: Marcus Kammer Date: Mon, 22 Apr 2024 22:18:57 +0200 Subject: [PATCH] Update docstrings --- src/form.lisp | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/form.lisp b/src/form.lisp index d7f5127..2f8345f 100644 --- a/src/form.lisp +++ b/src/form.lisp @@ -475,15 +475,16 @@ specifying the type of input elements (e.g. :radio), followed by a list of answer options. Example 1: - (form \"/submit\" - (:ask \"How old are you?\" - :group \"age\" - :choices (:radio \"18-24\" \"25-34\" \"35-44\"))) + (form \"/submit\" nil + (:ask \"How old are you?\" + :group \"age\" + :choices (:radio \"18-24\" \"25-34\" \"35-44\"))) + Example 2: - (form \"/submit\" - (:ask \"How old are you?\" - :group \"age\" - :choices (:single \"18-24\" \"25-34\" \"35-44\")))" + (form \"/submit\" nil + (:ask \"How old are you?\" + :group \"age\" + :choices (:single \"18-24\" \"25-34\" \"35-44\")))" (let ((class-string (spacing :property "p" :side "y" :size 5))) `(spinneret:with-html (root (:class ,class-string :action ,action :method "post")