Skip to content

reservationlive/currency_select

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Currency select

Provides a simple helper to get an HTML select list of currencies.

The value of the selected item is the ISO 4217 currency code for the selected currency.

This plugin is modified from the 'country and region select' plugin on GitHub. (http://github.com/ihower/country_and_region_select/tree/master).

Installation

To install this plugin in your Rails application, simply:

script/plugin install git://github.com/gavinlaking/currency_select.git

Example

<%= currency_select :model, :currency, ["British Pound", "US Dollar"] %>

(In the above example, 'British Pound' and 'US Dollar' are priority currencies, meaning they appear at the top of the list of currencies.)

About

currency_select form helper for rails using ISO 4217 currency codes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages