Sha256: a7d973e8ad79808a591548165b39353fc5188be275b2d2fb664bf6530c0f43e7
Contents?: true
Size: 1.56 KB
Versions: 19
Compression:
Stored size: 1.56 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', :id => 'admin_new_shipping_method_link' %> </li> </ul> <br class='clear' /> </div> <h1><%= t("shipping_methods") %></h1> <table class="index" id='listing_shipping_methods'> <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
19 entries across 19 versions & 6 rubygems