use span tag for time_ago_in_words_label
This commit is contained in:
parent
13df4537f3
commit
ffa1b879da
|
@ -84,6 +84,6 @@ module ApplicationHelper
|
|||
ago = "#{years} year#{years == 1 ? "" : "s"} ago"
|
||||
end
|
||||
|
||||
raw(label_tag(nil, ago, :title => time.strftime("%F %T %z")))
|
||||
raw(content_tag(:span, ago, :title => time.strftime("%F %T %z")))
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue