Fix readability of code example in docstring
This commit is contained in:
parent
7ddaced009
commit
822b538107
1 changed files with 6 additions and 1 deletions
|
@ -32,7 +32,12 @@ details.
|
||||||
DESCRIBEBY: Refers to the id of the element that describes the input field.
|
DESCRIBEBY: Refers to the id of the element that describes the input field.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
(ctrl (:id \"inputID\" :label \"Label\" :type \"text\" :placeholder \"Placeholder\" :describeby \"hintID\" :text \"Hint text\"))"
|
(ctrl (:id \"inputID\"
|
||||||
|
:label \"Label\"
|
||||||
|
:type \"text\"
|
||||||
|
:placeholder \"Placeholder\"
|
||||||
|
:describeby \"hintID\"
|
||||||
|
:text \"Hint text\"))"
|
||||||
`(spinneret:with-html
|
`(spinneret:with-html
|
||||||
,@(loop for item in rest
|
,@(loop for item in rest
|
||||||
collect (destructuring-bind (&key id label type placeholder text describeby) item
|
collect (destructuring-bind (&key id label type placeholder text describeby) item
|
||||||
|
|
Loading…
Add table
Reference in a new issue