You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
640 B
23 lines
640 B
<% title "Load List" %>
|
|
<table class="listing" cellspacing="0">
|
|
<tr>
|
|
<th>Number</th>
|
|
<th>End Date</th>
|
|
<th>Start Point</th>
|
|
<th>Shipper</th>
|
|
<th>Origin</th>
|
|
<th>Destination</th>
|
|
</tr>
|
|
<% for load in @loads %>
|
|
<tr class="<%= cycle("light", "dark") -%>" onclick="location.href='<%= edit_load_path(load) %>'">
|
|
<td><%=h load.number %></td>
|
|
<td><%=h load.end_date %></td>
|
|
<td><%=h load.start_point %></td>
|
|
<td><%=h load.shipper %></td>
|
|
<td><%=h load.origin %></td>
|
|
<td><%=h load.destination %></td>
|
|
</tr>
|
|
<% end %>
|
|
</table>
|
|
|
|
<p class="nav"><%= link_to "New Load", new_load_path %></p>
|