<%= link_to(''Edit Details'',
{:action=>''edit'',:controller=>''account'',:id=>@user.id
},
{:title=>''test''}) %>
www.jefdean.com
jeff@jefdean.com
917 414 7801
-----Original Message-----
From: rails-bounces@lists.rubyonrails.org
[mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of jon
Sent: Monday, July 31, 2006 4:47 AM
To: rails@lists.rubyonrails.org
Subject: [Rails] 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
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Rails mailing list
Rails@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails