Class: CurrencyInput
- Inherits:
-
TomSelectInput
- Object
- SimpleForm::Inputs::CollectionSelectInput
- TomSelectInput
- CurrencyInput
- Defined in:
- app/inputs/currency_input.rb
Instance Method Summary collapse
Methods inherited from TomSelectInput
Instance Method Details
#collection ⇒ Object
3 4 5 |
# File 'app/inputs/currency_input.rb', line 3 def collection Money::Currency.table.collect {|k,v| ["#{v[:iso_code]} - #{v[:name]} (#{v[:symbol]})",v[:iso_code]] }.sort end |