Fix missing parameter
This commit is contained in:
parent
4a65cb5557
commit
8073f76ad3
3 changed files with 5 additions and 5 deletions
|
@ -162,7 +162,7 @@ Example:
|
||||||
|
|
||||||
Returns HTML for a flexbox div containing styled anchor tags as buttons."
|
Returns HTML for a flexbox div containing styled anchor tags as buttons."
|
||||||
`(spinneret:with-html
|
`(spinneret:with-html
|
||||||
(:div :class "btn-group" :role "group" :aria-label (t9n "btn-group")
|
(:div :class "btn-group" :role "group" :aria-label (t9n "btn-group" "en")
|
||||||
,@(loop for (label url) on buttons by #'cddr
|
,@(loop for (label url) on buttons by #'cddr
|
||||||
collect `(btn (:color ,color :size "sm" :url ,url) ,label)))))
|
collect `(btn (:color ,color :size "sm" :url ,url) ,label)))))
|
||||||
|
|
||||||
|
|
|
@ -240,7 +240,7 @@ Example 2:
|
||||||
(:select :class ,class-attr
|
(:select :class ,class-attr
|
||||||
,@(when (numberp multiple) (list :size multiple :multiple t))
|
,@(when (numberp multiple) (list :size multiple :multiple t))
|
||||||
(:option :selected t
|
(:option :selected t
|
||||||
(t9n "option-selected"))
|
(t9n "option-selected" "en"))
|
||||||
,@(loop for item in body
|
,@(loop for item in body
|
||||||
collect
|
collect
|
||||||
(let ((value-prop-str (build-str-value-prop item)))
|
(let ((value-prop-str (build-str-value-prop item)))
|
||||||
|
@ -288,7 +288,7 @@ Example usage:
|
||||||
:placeholder "Search"
|
:placeholder "Search"
|
||||||
:title "Search")
|
:title "Search")
|
||||||
(btn-outline-success (:type "submit")
|
(btn-outline-success (:type "submit")
|
||||||
(t9n "search")))))
|
(t9n "search" "en")))))
|
||||||
|
|
||||||
;;; TODO input groups
|
;;; TODO input groups
|
||||||
|
|
||||||
|
@ -521,4 +521,4 @@ INTRO: Write some information related to the form. Could be a introduction."
|
||||||
`((:input :type "hidden" :name "csrf-token" :value ,csrf-token)))
|
`((:input :type "hidden" :name "csrf-token" :value ,csrf-token)))
|
||||||
,@body
|
,@body
|
||||||
(btn-primary (:type "submit")
|
(btn-primary (:type "submit")
|
||||||
(t9n "submit"))))))
|
(t9n "submit" "en"))))))
|
||||||
|
|
|
@ -176,7 +176,7 @@ Example usage:
|
||||||
(:div :class "skippy visually-hidden-focusable overflow-hidden"
|
(:div :class "skippy visually-hidden-focusable overflow-hidden"
|
||||||
(:a :href "#main-content"
|
(:a :href "#main-content"
|
||||||
:class "d-inline-flex p-2 m-1"
|
:class "d-inline-flex p-2 m-1"
|
||||||
(t9n "skip-link")))
|
(t9n "skip-link" "en")))
|
||||||
,@body
|
,@body
|
||||||
(:div :class (if ,container
|
(:div :class (if ,container
|
||||||
(concatenate 'string "container-" ,container)
|
(concatenate 'string "container-" ,container)
|
||||||
|
|
Loading…
Add table
Reference in a new issue