crowdAI/crowdai

View on GitHub
app/concepts/leaderboard/views/table_head.erb

Summary

Maintainability
Test Coverage
<thead>
  <tr>
    <th></th>
    <th></th>
    <th class="change">Δ</th>
    <th class="position">#</th>
    <th class="participant">Participant</th>
    <% if cols.include?(:media) %>
      <th class="video">Media</th>
    <% end %>
    <th class="score"><%= challenge.score_title %></th>
    <% if cols.include?(:score_secondary) %>
      <th class="score"><%= challenge.score_secondary_title %></th>
    <% end %>
    <th class="entries">Entries</th>
    <% if cols.include?(:post_challenge) %>
      <th class="post-challenge"></th>
    <% end %>
    <th class="last-submission">Last Submission (UTC)</th>
    <th class="action"></th>
    <th></th>
    <th></th>
  </tr>
</thead>