/ Published in: Rails
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<%= content_tag 'div', :class => 'products' do content_tag 'ul', :class => 'list' do content_tag 'li', :class => 'item1' content_tag 'li', :class => 'item1' end end %>