Posted By

imakethings on 06/27/07


Tagged

rails helper contenttag


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

webstic


content_tag (modified): Part 2 (the view)


 / Published in: Rails
 

  1. <%= content_tag 'div', :class => 'products' do
  2. content_tag 'ul', :class => 'list' do
  3. content_tag 'li', :class => 'item1'
  4. content_tag 'li', :class => 'item1'
  5. end
  6. end
  7. %>

Report this snippet  

You need to login to post a comment.