Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <% hoges.each_with_index do |hoge, i| %>
- <% if i % 2 == 0 %>
- <div class="row">
- <% end %>
- piyo
- <% if i % 2 == 1 %>
- </div>
- <% end %>
- <% end %>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement