Ruby on Rails Friday, July 6, 2012

I solved my issue...

<%= link_to "<span>#{t('filter')}</span>".html_safe, "",:class => "signin" %>


On Friday, July 6, 2012 4:56:24 PM UTC+5:30, Colin Law wrote:

On 6 July 2012 12:18, harshad <harshad@spaceotechnologies.com> wrote:
> Hi,
>
> I have a issue in display HTML in link_to tag.
>
> Issue: <a href="login" class="signin"><span>Filter</span></a>
>
> Above HTML tag i want to convert into Rails 3 syntax.....but how?

googling for
rails link_to span
yields numerous hits.

Colin

>
> Any one have a answer. Please send me asap.
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/rubyonrails-talk/-/yf5aqXbXVyQJ.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To unsubscribe from this group, send email to
> rubyonrails-talk+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en-US.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/cqkNP1lzvjcJ.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en-US.

No comments:

Post a Comment