delete and edit distributors

This commit is contained in:
Andrew Spinks
2012-04-22 13:01:56 +10:00
parent 147985b94d
commit 4ad11c1faf

View File

@@ -15,6 +15,8 @@
<th>
Description
</th>
<th>
</th>
</tr>
</thead>
<tbody>
@@ -22,6 +24,10 @@
<tr >
<td><%= link_to distributor.name, spree.admin_distributor_path(distributor) %></td>
<td><%=distributor.description %></td>
<td data-hook="admin_users_index_row_actions">
<%= link_to_edit distributor, :class => 'edit' %> &nbsp;
<%= link_to_delete distributor %>
</td>
</tr>
<% end %>
<% if @distributors.empty? %>