On Tue, Aug 13, 2013 at 4:50 AM, kanna <vtrkanna@gmail.com> 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 ------------------------ hassan.schroeder@gmail.com
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 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/CACmC4yBcoSJ427fmM6HgknQkcQaTRJ0H_CUDC7QEdYiKJxKq9A%40mail.gmail.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment