Fix readability of code example in docstring

This commit is contained in:
Marcus Kammer 2023-08-26 09:12:26 +02:00
parent 7ddaced009
commit 822b538107
Signed by: marcuskammer
GPG key ID: C374817BE285268F

View file

@ -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