Fix indentation
This commit is contained in:
parent
e5e4fb01e2
commit
e1711dfbca
1 changed files with 11 additions and 10 deletions
|
@ -175,16 +175,17 @@ Example:
|
||||||
(format nil "form-select form-select-~a" size))
|
(format nil "form-select form-select-~a" size))
|
||||||
(t "form-select"))))
|
(t "form-select"))))
|
||||||
`(spinneret:with-html
|
`(spinneret:with-html
|
||||||
(:select :class ,class-attr
|
(:select :class ,class-attr
|
||||||
,@(when (numberp size) `(:size ,size))
|
,@(when (numberp size) `(:size ,size))
|
||||||
,@(when (and (stringp size) (string= size "multiple")) (list :multiple t))
|
,@(when (and (stringp size) (string= size "multiple")) (list :multiple t))
|
||||||
:aria-label "Default select example"
|
:aria-label "Default select example"
|
||||||
(:option :selected t (find-l10n "select-option"
|
(:option :selected t
|
||||||
spinneret:*html-lang*
|
(find-l10n "option-selected"
|
||||||
l10n))
|
spinneret:*html-lang*
|
||||||
,@(loop for item in rest
|
l10n))
|
||||||
collect (destructuring-bind (&key content value) item
|
,@(loop for item in rest
|
||||||
`(:option :value ,value ,content)))))))
|
collect (destructuring-bind (&key content value) item
|
||||||
|
`(:option :value ,value ,content)))))))
|
||||||
|
|
||||||
(defun search-form ()
|
(defun search-form ()
|
||||||
"This function generates a general-purpose search form.
|
"This function generates a general-purpose search form.
|
||||||
|
|
Loading…
Add table
Reference in a new issue