select tag:-
<%=select_tag "names",options_from_collection_for_select(@users,"id","name",@user.id)%>
Right now my dropdown looks like this:-
john
matt
sara
But I want to have it like:-
john edit
matt edit
sara edit
Where "edit" is the link which can edit a particular user.But I am not able to put a link into select_tag.
Thanks