Displaying 1 result from an estimated 1 matches for "closed_filters".
2014 Apr 24
0
How to make optgroup with rails version 3
...?
= f.select "#{available_filter_option.col_names}", [raw("<optgroup label='Active Users'><option> " + data.collect {|a| [ a.name, a.id ] } + " </option></optgroup>")],
{:include_blank => ' '}, class: 'closed_filters', filter: available_filter_option.col_names, :filter_type => 'select_box'
Thank you in advance guys.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it...