app/views/spree/admin/shipping_methods/index.html.erb in solidus_backend-2.3.1 vs app/views/spree/admin/shipping_methods/index.html.erb in solidus_backend-2.4.0.beta1
- old
+ new
@@ -31,14 +31,14 @@
<th data-hook="admin_shipping_methods_index_header_actions" class="actions"></th>
</tr>
</thead>
<tbody>
<% @shipping_methods.includes(:zones, :calculator).each do |shipping_method|%>
- <tr id="<%= spree_dom_id shipping_method %>" data-hook="admin_shipping_methods_index_rows" class="<%= cycle('odd', 'even')%>">
- <td class="align-center"><%= shipping_method.admin_name + ' / ' if shipping_method.admin_name.present? %><%= shipping_method.name %></td>
- <td class="align-center"><%= shipping_method.zones.collect(&:name).join(", ") if shipping_method.zones %></td>
- <td class="align-center"><%= shipping_method.calculator.description %></td>
- <td class="align-center"><%= shipping_method.available_to_users? ? Spree.t(:say_yes) : Spree.t(:say_no) %></td>
+ <tr id="<%= spree_dom_id shipping_method %>" data-hook="admin_shipping_methods_index_rows">
+ <td><%= shipping_method.admin_name + ' / ' if shipping_method.admin_name.present? %><%= shipping_method.name %></td>
+ <td><%= shipping_method.zones.collect(&:name).join(", ") if shipping_method.zones %></td>
+ <td><%= shipping_method.calculator.description %></td>
+ <td><%= shipping_method.available_to_users? ? Spree.t(:say_yes) : Spree.t(:say_no) %></td>
<td data-hook="admin_shipping_methods_index_row_actions" class="actions">
<% if can?(:update, shipping_method) %>
<%= link_to_edit shipping_method, no_text: true %>
<% end %>