Sha256: dc0842ec2039f3e9fec3ab5a2b65a43a85475de39d5c5c22d8bd9d72f66f83be
Contents?: true
Size: 766 Bytes
Versions: 2
Compression:
Stored size: 766 Bytes
Contents
<% content_for :sidebar do %> <ul class="sidebar supplier-menu"> <%= hook :admin_supplier_tabs, {:current => current} do %> <li<%== ' class="active"' if current == "Supplier Details" %>> <%= link_to "Supplier Details", edit_admin_supplier_url(@supplier) %> </li> <li<%== ' class="active"' if current == "Taxons" %>> <%= link_to t("taxons"), selected_admin_supplier_taxons_url(@supplier) %> </li> <li<%== ' class="active"' if current == "Shipping" %>> <%= link_to "Shipping Options", edit_admin_shipping_option_url(@supplier) %> </li> <li<%== ' class="active"' if current == "Pickups" %>> <%= link_to "Pickups", admin_pickup_url(@supplier) %> </li> <% end %> </ul> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spree_suppliers-0.0.1 | app/views/admin/suppliers/_supplier_tabs.html.erb |
spree_suppliers-0.60.3 | app/views/admin/suppliers/_supplier_tabs.html.erb |