Sha256: e1beb8dd45e20e118eb3da39e95d143690343faa74d4da9cfdffc06a051384d7
Contents?: true
Size: 1.18 KB
Versions: 2
Compression:
Stored size: 1.18 KB
Contents
<h1> <%= t("pickups") %> </h1> <% @suppliers.each do |supplier| %> <table class="admin-report" width="545"> <thead> <tr> <th width="300px"> <%= supplier.title %> </th> <th width="600px"> <%= t("pickup_address") %> </th> <th width="300px"> <%= t("edit") %> </th> <th> <%= t("delete") %> </th> </tr> </thead> <tbody> <% supplier.pickups.each do |pickup| %> <tr class="<%= cycle('even', 'odd') %>"> <td> <%= link_to pickup.pickup_location.location_name, admin_pickup_location_path(pickup) %> </td> <td> <%= pickup.pickup_location.address1 %>, <%= pickup.pickup_location.city %>, <%= State.find_by_id(pickup.pickup_location.state_id) %> </td> <td> <%= link_to "edit", edit_admin_pickup_location_path(pickup.pickup_location) %> </td> <td> <%= button_to "delete", admin_pickup_path(pickup), :method => :delete %> </td> </tr> <% end %> </tbody> </table> <% end %> <%= link_to t("new_pickup"), new_admin_pickup_path %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spree_suppliers-0.0.1 | app/views/admin/pickups/index.html.erb |
spree_suppliers-0.60.3 | app/views/admin/pickups/index.html.erb |