ruby on rails - simple form country select showing as html entities -
at point form started showing html entities instead of html country select:
haml:
= a.input :country
html
<div class="input country required"><label class="country required" for="user_account_address_attributes_country">country <abbr title="required">*</abbr></label><select class="country required" id="user_account_address_attributes_country" name="user[account_address_attributes][country]"><option value=""></option> <option value="afghanistan">afghanistan</option> <option value="aland islands">aland islands</option> <option value="albania" selected="selected">albania</option>
turns out needed use country_select gem.
Comments
Post a Comment