Sha256: 29fac50e3085c48e4ad7e460e4d81ccd12dec59fea8eb319d833f0d40e656d3f
Contents?: true
Size: 1.42 KB
Versions: 9
Compression:
Stored size: 1.42 KB
Contents
<%= render :partial => 'admin/shared/configuration_menu' %> <div class='toolbar'> <ul class='actions'> <li> <%= button_link_to t("new_shipping_method"), new_object_url, :icon => 'add' %> </li> </ul> <br class='clear' /> </div> <h1><%= t("shipping_methods") %></h1> <table class="index"> <thead> <tr> <%= hook :admin_shipping_methods_index_headers do %> <th><%= t("name") %></th> <th><%= t("zone") %></th> <th><%= t("calculator") %></th> <th><%= t("display") %></th> <% end %> <th> <%= hook :admin_shipping_methods_index_header_actions %> </th> </tr> </thead> <tbody> <% @shipping_methods.each do |shipping_method|%> <tr id="<%= dom_id shipping_method %>"> <%- locals = {:shipping_method => shipping_method} %> <%= hook :admin_shipping_methods_index_rows, locals do %> <td><%= shipping_method.name %></td> <td><%= shipping_method.zone.name %></td> <td><%= shipping_method.calculator.description %></td> <td><%= shipping_method.display_on.blank? ? t('both') : t(shipping_method.display_on) %></td> <% end %> <td width="140px"> <%= hook :admin_shipping_methods_index_row_actions, locals do %> <%= link_to_edit shipping_method %> <%= link_to_delete shipping_method %> <% end %> </td> </tr> <% end %> </tbody> </table>
Version data entries
9 entries across 9 versions & 1 rubygems