Hi I am using gem 'carmen-rails'
In my view I have written this
<%= f.country_select :country, prompt: 'Please select a country',
:id=>'curr-country' %>
but its not taking this id 'curr-country'. Please guide how to give id in this. Thanks in advance.
You'll have to pass a second hash with the HTML options:
The
carmen-railsgem doesn't document this explicitly (it is documented in code). Thecountry_selectgem, however, does provide an example of this in the Usage section of theREADME