1
Hello, I would like to add icons (from source, like bootstrap for example) inside a select field in HAML, at first I am doing so, would that be possible? I thought about using the bootstrap list-dropdown as a lame measure, but it also didn’t work out so well...
- icons = ["icon-world", "icon-star-twohdd-o", "icon-users"]
%label.control-label
= Activity.ht("activity_status_situation")
%select{style: 'max-width: 300px; min-width: 150px', name: 'icons_milestone'}
- for icon in icons do
%option{value: "#{icon}", type: "", selected: ("")}
%i.#{icon}
Thanks in advance!