<% Spree.deprecator.warn "Using the #{@virtual_path.inspect} partial is deprecated, please use MenuItem#children instead." %>

<ul class="admin-subnav" data-hook="admin_promotion_sub_tabs">
  <% if can? :admin, Spree::Promotion %>
    <%= tab label: :promotions %>
  <% end %>
  <% if can? :admin, Spree::PromotionCategory %>
    <%= tab label: :promotion_categories %>
  <% end %>
</ul>
