I have a table that contains currencies I support which has the
ch (the character to display when showing currency)
name (the human name of the currency …)
This table is currently loaded with these values:
I created a method in my ‘currency’ model called ‘menustr’ which I use
in collection_select to show the currency options:
return ch + " " + name
I then use this in my form template:
<td><label for="customer_def_cur_pref">Default Currency:
:ch, :menustr) %>
where @zcurtype is an array containing all the currencies in the
Instead of putting the pretty html version of £ and &euro in my
pull down menu, collection_select’s form is quoting them and I still
see the “£” and “&euro” text.
Anyone have a way to work around this?