Jack Vo
Jack Vo

Reputation: 289

Using country-select with formastic

I am trying to use country-select with formastic as:

:country_of_residence, :as => :country

problem is that i want to put New Zealand on the top not other countries. How can I do that within formastic???

Upvotes: 0

Views: 112

Answers (1)

usha
usha

Reputation: 29349

Try this

<%= f.input :nationality, :as => :country, :priority_countries => ["New Zealand"] %>

Upvotes: 1

Related Questions