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