carmen-ruby / carmen-rails

NOT ACTIVELY MAINTAINED Rails adapter for Carmen (provides country_select and subregion_select)
MIT License
215 stars 159 forks source link

subregion_select should support setting a prompt #8

Closed jim closed 12 years ago

jim commented 12 years ago

See also.

rdsoze commented 12 years ago

An include_blank works with subregion_select .. Edit: prompt also works :P

 <%= f.subregion_select(:state, 'US', :prompt => "Select if applicable" ) %>

If you had anything else in mind, I would definitely take a stub at it ..

peng-zuo commented 12 years ago

i think jim meant subregion_select_tag and country_select_tag, the html_options is not included in these methods.