Sunday, 15 August 2010

ruby on rails - Using country-select with formastic -


I am trying to select the country, such as with the format:

 < Code>: country_of_residence, as in: => : Country   

The problem is that I do not want to put New Zealand in other countries on top.

try it

  & lt ;% = F.input: nationality, in the form of: & gt; : Country ,: priority_countries = & gt; ["New Zealand"]% & gt;    

No comments:

Post a Comment