diff options
author | Marcel Molina <marcel@vernix.org> | 2006-07-13 03:25:17 +0000 |
---|---|---|
committer | Marcel Molina <marcel@vernix.org> | 2006-07-13 03:25:17 +0000 |
commit | c80c6364d93bd9caa262cc0d3f9a507d2d2d3af7 (patch) | |
tree | 6dbf1870ca4e0b9e6b23e4b1339bcace7b995ed8 /actionpack/lib/action_view/helpers | |
parent | d68fd78bad38dbafe35534f7218c705fa65c2dd1 (diff) | |
download | rails-c80c6364d93bd9caa262cc0d3f9a507d2d2d3af7.tar.gz rails-c80c6364d93bd9caa262cc0d3f9a507d2d2d3af7.tar.bz2 rails-c80c6364d93bd9caa262cc0d3f9a507d2d2d3af7.zip |
Provide support for decimal columns to form helpers. Closes #5672. [dave@pragprog.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4609 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_view/helpers')
-rw-r--r-- | actionpack/lib/action_view/helpers/active_record_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/active_record_helper.rb b/actionpack/lib/action_view/helpers/active_record_helper.rb index a7bfb77db3..7a1aeff342 100644 --- a/actionpack/lib/action_view/helpers/active_record_helper.rb +++ b/actionpack/lib/action_view/helpers/active_record_helper.rb @@ -161,7 +161,7 @@ module ActionView to_input_field_tag(field_type, options) when :text to_text_area_tag(options) - when :integer, :float + when :integer, :float, :decimal to_input_field_tag("text", options) when :date to_date_select_tag(options) |