Link_to tool tips

I think they are called tool tips…

I have view code that looks like this…

<%= link_to ‘I’, :action => ‘edit_innoculations’, :id => personnel %>

Is there an option (I don’t see it in api) to have tool tips for a
link_to ?

Craig

You can use the ‘title’ tag of the tag (untested, but should work):

<%= link_to “Link”, {action => ‘edit_innoculations’, :id =>
personnel}, {:title => “Tooltip text goes here”} %>

Cheers,

-DF

Yeah - that worked (after changing action to a symbol :action)

Thanks

Craig

Oops, yeah - sorry, typo :slight_smile:

-DF