<%= link_to "Link", { :action => "show" }, { :title
=> "Title" } %>
Actually, you can put any attribute in that second grouping.
Kevin
On Nov 4, 2005, at 11:33 PM, CSN wrote:
> Is it possible to specify a title attribute using
> link_to? I''d like my links to appear as so:
>
> <a href="/foo/bar/x" title="foo bar x">foo bar
x</a>
>
> I haven''t been able to get link_to to do this.
>
> Thanks,
> CSN
>
>
>
>
> __________________________________
> Yahoo! Mail - PC Magazine Editors'' Choice 2005
> http://mail.yahoo.com
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>