Class: CurrencyInput
- Inherits:
-
SimpleForm::Inputs::Base
- Object
- SimpleForm::Inputs::Base
- CurrencyInput
- Includes:
- ActionView::Helpers::NumberHelper
- Defined in:
- app/inputs/currency_input.rb
Instance Method Summary collapse
Instance Method Details
#input ⇒ Object
4 5 6 |
# File 'app/inputs/currency_input.rb', line 4 def input input_field = @builder.text_field(attribute_name, ) end |
#input_html_options ⇒ Object
8 9 10 |
# File 'app/inputs/currency_input.rb', line 8 def merge_formatted_value(super) end |