Basis of rails-driven app for local business
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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 
 

29 lines
744 B

<% title "Load List" %>
<table class="listing" cellspacing="0">
<tr>
<col class="load_number" />
<col class="date"/>
<col />
<col />
<col />
<col />
<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>