get right input class when inheriting form builders

* this unfortunately might not work on Ruby 1.8