Dont use legend for form macro
This commit is contained in:
parent
72cbb8c33c
commit
617bb46fe4
1 changed files with 2 additions and 3 deletions
|
@ -65,7 +65,7 @@
|
|||
|
||||
;;; form
|
||||
|
||||
(defmacro form (legend &optional attr &body body)
|
||||
(defmacro form (&optional attr &body body)
|
||||
"Generates HTML form element.
|
||||
|
||||
LEGEND: Add text for <legend>. A short description for forms.
|
||||
|
@ -79,8 +79,7 @@ fields, checkboxes, radio buttons, etc."
|
|||
(:form ,@(if (null attr)
|
||||
(list :action "" :name "html-form" :method "post")
|
||||
attr)
|
||||
(:fieldset (:legend ,legend)
|
||||
,@body))))
|
||||
,@body)))
|
||||
|
||||
;;; checkable
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue