diff --git a/src/form.lisp b/src/form.lisp index fe75414..5324768 100644 --- a/src/form.lisp +++ b/src/form.lisp @@ -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