<% awards = award_order(@awards) %> <% {awards, overflow} = Enum.split(awards, 10) %> <%= for award <- awards do %> <% title = [award_title(award), award.label] |> Enum.join(" - ") %>
<%= badge_image(award.badge, alt: title, title: title, width: "18", height: "18") %>
<% end %> <%= if Enum.any?(overflow) do %> <% end %>