- content_for :page_title do
  = t('admin.subscriptions.subscriptions')

- content_for :main_ng_app_name do
  = "admin.subscriptions"

- content_for :page_actions do
  %li
    %a.button.icon-plus#new-subscription{ href: "javascript:void(0)", "new-subscription-dialog" => true }
      = t('admin.subscriptions.new')

= render :partial => 'spree/admin/shared/order_sub_menu'

= admin_inject_column_preferences module: 'admin.subscriptions'
= render 'data'
= render 'order_update_issues_dialog'

%div.margin-bottom-50{ ng: { controller: 'SubscriptionsController' } }
  %save-bar{ dirty: "false", persist: "false" }
  = render 'filters'
  = render 'controls'
  = render 'table'
  = render 'loading_flash'
  = render 'no_results'
