Skip to content

Tressa-Sanders/currency_select

 
 

Repository files navigation

CurrencySelect

Build Status Gem Version

Adds a currency_select helper to Ruby on Rails projects, allowing you to get a HTML select list of available currencies.

The list of currencies are provided by the Money gem.

Installation

Add the following to your Gemfile:

gem 'currency_select'

Example

currency_select('user', 'currency')

form_for example

<%= f.currency_select(:currency, ["USD", "EUR", "CAD"], {}, {class: "form-control"}) -%>

Contributing to this project

Code of Conduct

This project adheres to a Contributor Code of Conduct. By participating in this project and its community, you are expected to uphold this code.

Maintainers

About

Currency select helper for Ruby on Rails

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%