lib/happy-helpers/helpers/forms.rb in happy-helpers-0.1.0.pre13 vs lib/happy-helpers/helpers/forms.rb in happy-helpers-0.1.0.pre14

- old
+ new

@@ -74,11 +74,11 @@ options = { :action => resource.new_record? ? "/#{resource.class.to_s.tableize}" : "/#{resource.class.to_s.tableize}/#{resource.id}", :method => 'post' }.merge(options) - html_tag :form, options do - capture do + concat_output html_tag(:form, options) do + capture_template_block do yield FormBuilder.new(self, resource, options) end end end