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
|
||||
fields, checkboxes, radio buttons, etc."
|
||||
`(spinneret:with-html
|
||||
(:form ,@(if (null attr)
|
||||
(list :action "" :name "html-form" :method "post")
|
||||
attr)
|
||||
,@body)))
|
||||
(:form :action ,action :method ,method ,@body)))
|
||||
|
||||
;;; checkable
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue