Ruby on Rails Tuesday, August 13, 2013

Hi

i tried content_tag inside content_tag bu its not working

<%= content_tag(:h1,"Arrange"+content_tag(:span,"Demo"))%>

i want like this type

<h1>Arrange <span>Demo</span></h1>

plz help.

bye

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/22daf30c-3405-4d70-9e88-eb893877a132%40googlegroups.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment