test/sinatra/views/form.haml in monkey_forms-0.0.18 vs test/sinatra/views/form.haml in monkey_forms-0.0.19

- old
+ new

@@ -12,10 +12,10 @@ %p As you click from page to page, note that your form values are saved. They are saved in a cookie! -%form{:action => '/haml_form', :method => 'post'} +%form{:action => '/haml_form', :method => 'post', :enctype => 'multipart/form-data'} - @form.class.attributes.each do |name| %input{:type => 'text', :id => "form_#{name}", :name => "form[#{name}]", :value => @form.send(name)} %label{:for => "form_#{name}"}= name %br