18F/micropurchase

View on GitHub
app/views/admin/auctions/needs_attention/_delivery_needed.html.erb

Summary

Maintainability
Test Coverage
<table class="usa-table-borderless">
  <thead>
    <tr>
      <th scope="col"><%= t('needs_attention.index.columns.title') %></th>
      <th scope="col"><%= t('needs_attention.index.columns.delivery_deadline') %></th>
      <th scope="col"><%= t('needs_attention.index.columns.delivery_url') %></th>
      <th scope="col"><%= t('needs_attention.index.columns.winner') %></th>
      <th scope="col"></th>
    </tr>
  </thead>
  <tbody>
    <% auctions.each do |auction| %>
    <tr>
      <td><%= link_to(auction.title, admin_auction_path(auction.id)) %></td>
      <td><%= auction.delivery_due_at_expires_in %></td>
      <td><%= auction.delivery_url %></td>
      <td><%= auction.winning_bidder.email %></td>
      <td><%= link_to('edit', edit_admin_auction_path(auction.id)) %></td>
    </tr>
    <% end %>
  </tbody>
</table>