hargettp / hh-web

Framework for building modern web applications in Lisp
MIT License
36 stars 4 forks source link

Form rendering ignoring action and method attributes #2

Closed hargettp closed 12 years ago

hargettp commented 12 years ago

From email:

When I try to render this form (home-page.lisp):

(+tag-library :html) (+tag-library :std)

(page (+title "Acme home page") (std-page (div (form {:action "data" :method "post"} (input "first name" {:name "first-name" :size 50 :length 30} (br {:noendtag t})) (input "last name" {:name "last-name" :size 50 :lenght 30} (br {:noendtag t})) (checkbox "option 1" {:checked t} (br {:noendtag t})) (input (+@ :type "submit" :value "Press this button for awesome!")) ))))

I get this html form that simply ignores my :action and :method variables:

first name

last name

option 1