I'm currently using the country_select gem for ruby on rails: http://ift.tt/1hUo8Kx
The following code prints a list of all the countries:
<%= f.country_select :CountryTo, html_options = {:class => "form-control"} %>
I want to add a custom option field in the select dropdown with the value "Anywhere". Does anyone know how I can achieve this? I am pretty new with Ruby on rails so my apologies if there is a super easy fix, thank you.
Aucun commentaire:
Enregistrer un commentaire