i use select tag displaying names in options_for_select , want add separator line in drop down list,under separator line want place link edit names. example.
name1 name2 name3 ----- edit_names
this view code
= select_tag :page_names, options_for_select(pages.collect{|c| [c.name, c.id]}, params[:search]), {:class => 'auto-width'}
help me solve this.
this has basics of looking for
Comments
Post a Comment