On Tue, Aug 13, 2013 at 4:50 AM, kanna <[email protected]> wrote:

> i tried content_tag inside content_tag bu its not working

More readably (IMO):

 <%= content_tag :h1 do %>
   Arrange <%= content_tag :span, 'Demo' %>
<% end %>

-- 
Hassan Schroeder ------------------------ [email protected]
http://about.me/hassanschroeder
twitter: @hassan

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yBcoSJ427fmM6HgknQkcQaTRJ0H_CUDC7QEdYiKJxKq9A%40mail.gmail.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to