Add title to links

Hi,

below is an example of one of my links, in order to create a pop up css
window when I hover over it, I need to be able to add a title element,

<%= link_to ‘Edit Details’, :action => ‘edit’, :controller
=>‘account’,:id => @user.id %>

so it will appear like <a href=“http://localhost/edit/1” title=“text to
go here” …

How can the title element be added?
thanks
jon

<%= link_to(‘Edit Details’,
{:action=>‘edit’,:controller=>‘account’,:id=>@user.id },
{:title=>‘test’}) %>

www.jefdean.com
[email protected]
917 414 7801

Jeff Dean wrote:

<%= link_to(‘Edit Details’,
{:action=>‘edit’,:controller=>‘account’,:id=>@user.id },
{:title=>‘test’}) %>

www.jefdean.com
[email protected]
917 414 7801

nice1,

thanks

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs