Class: SimpleFormBootstrapInputs::CurrencyInput
- Inherits:
-
SimpleForm::Inputs::Base
- Object
- SimpleForm::Inputs::Base
- SimpleFormBootstrapInputs::CurrencyInput
- Defined in:
- lib/simple_form_bootstrap_inputs/currency_input.rb
Instance Method Summary collapse
Instance Method Details
#input(wrapper_options) ⇒ Object
6 7 8 9 10 |
# File 'lib/simple_form_bootstrap_inputs/currency_input.rb', line 6 def input() = (, ) "<div class=\"input-group\">#{@builder.text_field(attribute_name, )}<div class=\"input-group-addon\">#{currency_addon}</div></div>" .html_safe end |