lib/puffer/extensions/form.rb in puffer-0.0.18 vs lib/puffer/extensions/form.rb in puffer-0.0.19
- old
+ new
@@ -8,11 +8,10 @@
else
options = args.extract_options!
Puffer::Fields::Field.new args, options
end
field.resource = object.class
- input = Puffer::Inputs.map_field field
- input.new(self, @template, field).render
+ field.input self
end
end
end
end