Update docstrings
This commit is contained in:
parent
d0532923c8
commit
400ee4bbe1
1 changed files with 9 additions and 8 deletions
|
@ -475,15 +475,16 @@ specifying the type of input elements (e.g. :radio), followed by a list of
|
||||||
answer options.
|
answer options.
|
||||||
|
|
||||||
Example 1:
|
Example 1:
|
||||||
(form \"/submit\"
|
(form \"/submit\" nil
|
||||||
(: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\")))
|
||||||
|
|
||||||
Example 2:
|
Example 2:
|
||||||
(form \"/submit\"
|
(form \"/submit\" nil
|
||||||
(:ask \"How old are you?\"
|
(:ask \"How old are you?\"
|
||||||
:group \"age\"
|
:group \"age\"
|
||||||
:choices (:single \"18-24\" \"25-34\" \"35-44\")))"
|
:choices (:single \"18-24\" \"25-34\" \"35-44\")))"
|
||||||
(let ((class-string (spacing :property "p" :side "y" :size 5)))
|
(let ((class-string (spacing :property "p" :side "y" :size 5)))
|
||||||
`(spinneret:with-html
|
`(spinneret:with-html
|
||||||
(root (:class ,class-string :action ,action :method "post")
|
(root (:class ,class-string :action ,action :method "post")
|
||||||
|
|
Loading…
Add table
Reference in a new issue