Define specific parameter for root element
This commit is contained in:
parent
211d68a6d9
commit
666df9f5a4
1 changed files with 1 additions and 4 deletions
|
@ -78,10 +78,7 @@ defaults to an empty action, \"html-form\" as name and \"post\" as method.
|
||||||
BODY: The body of the form, which generally includes form elements such as input
|
BODY: The body of the form, which generally includes form elements such as input
|
||||||
fields, checkboxes, radio buttons, etc."
|
fields, checkboxes, radio buttons, etc."
|
||||||
`(spinneret:with-html
|
`(spinneret:with-html
|
||||||
(:form ,@(if (null attr)
|
(:form :action ,action :method ,method ,@body)))
|
||||||
(list :action "" :name "html-form" :method "post")
|
|
||||||
attr)
|
|
||||||
,@body)))
|
|
||||||
|
|
||||||
;;; checkable
|
;;; checkable
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue