Sha256: a0c8800a46deac51dbe3cfa0e39fbe27a7c5d944d3538d34e0ec26fb0200214b
Contents?: true
Size: 1.42 KB
Versions: 4
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? ? "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
4 entries across 4 versions & 1 rubygems