_quests.html.erb 277 Bytes
Newer Older
mafolz's avatar
mafolz committed
1
2
<% quests.in_groups_of(10) do |grouped_quests| %>
  <div class="row">
surma Lodur's avatar
surma Lodur committed
3
4
5
    <%= render({
      :partial    => 'hackers/quests/show', 
      :collection => grouped_quests.compact, 
6
7
      :as         => :quest,
      :locals     => {:hacker => hacker}
surma Lodur's avatar
surma Lodur committed
8
    }) %>
mafolz's avatar
mafolz committed
9
10
  </div>
<% end %>