From fcc26970ef974e765d309f45c7e462fc85d202b0 Mon Sep 17 00:00:00 2001 From: Daniela Soares Feitosa Date: Mon, 29 Mar 2010 16:18:56 -0300 Subject: [PATCH] Added 'title' attribute on button_to_remote_without_text --- app/helpers/application_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 1a3a2bf..119ca66 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -241,7 +241,7 @@ module ApplicationHelper def button_to_remote_without_text(type, label, options, html_options = {}) html_options[:class] = "" unless html_options[:class] html_options[:class] << " button icon-#{type}" - link_to_remote(content_tag('span', label), options, html_options) + link_to_remote(content_tag('span', label), options, html_options.merge(:title => label)) end def icon(icon_name, html_options = {}) -- libgit2 0.21.2