Update html properties and strings
This commit is contained in:
parent
f6cdbf2cef
commit
269af5251f
1 changed files with 4 additions and 1 deletions
|
@ -113,12 +113,15 @@ NAME: The name attribute for the control.
|
||||||
|
|
||||||
LABEL: The label to display next to the control."
|
LABEL: The label to display next to the control."
|
||||||
(let* ((name-str (build-name-str name))
|
(let* ((name-str (build-name-str name))
|
||||||
(class-str (build-class-str name)))
|
(class-str (build-class-str name))
|
||||||
|
(id-str (build-id-str name label)))
|
||||||
(spinneret:with-html
|
(spinneret:with-html
|
||||||
(:div :class (spacing :property "m" :side "b" :size 3)
|
(:div :class (spacing :property "m" :side "b" :size 3)
|
||||||
(:label :class class-str
|
(:label :class class-str
|
||||||
|
:for id-str
|
||||||
label
|
label
|
||||||
(:input :class "form-control"
|
(:input :class "form-control"
|
||||||
|
:id id-str
|
||||||
:type type
|
:type type
|
||||||
:name name-str))))))
|
:name name-str))))))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue