_quests.html.erb 235 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 6 7
    <%= render({
      :partial    => 'hackers/quests/show', 
      :collection => grouped_quests.compact, 
      :as         => :quest
    }) %>
mafolz's avatar
mafolz committed
8 9
  </div>
<% end %>