Class: CurrencyInput
- Inherits:
-
SimpleForm::Inputs::Base
- Object
- SimpleForm::Inputs::Base
- CurrencyInput
- Defined in:
- app/inputs/currency_input.rb
Instance Method Summary collapse
Instance Method Details
#input(wrapper_options) ⇒ Object
2 3 4 5 6 7 |
# File 'app/inputs/currency_input.rb', line 2 def input() currency = .delete(:currency) || default_currency = (, ) content_tag(:div, input_group(currency, ), class: "input-group") end |