diff --git a/app/views/admin/enterprise_fees/index.html.haml b/app/views/admin/enterprise_fees/index.html.haml index f7398cb6c1..a59ffc99e0 100644 --- a/app/views/admin/enterprise_fees/index.html.haml +++ b/app/views/admin/enterprise_fees/index.html.haml @@ -1,4 +1,5 @@ -%h1 Enterprise Fees += content_for :page_title do + Enterprise Fees = ng_form_for @enterprise_fee_set, :url => main_app.bulk_update_admin_enterprise_fees_path, :html => {'ng-app' => 'enterprise_fees', 'ng-controller' => 'AdminEnterpriseFeesCtrl'} do |enterprise_fee_set_form| = hidden_field_tag 'enterprise_id', @enterprise.id if @enterprise diff --git a/app/views/admin/enterprise_groups/index.html.haml b/app/views/admin/enterprise_groups/index.html.haml index 81e9c014b4..035402267f 100644 --- a/app/views/admin/enterprise_groups/index.html.haml +++ b/app/views/admin/enterprise_groups/index.html.haml @@ -1,10 +1,9 @@ -.toolbar{'data-hook' => "toolbar"} - %ul.actions - %li - = button_link_to "New Enterprise Group", main_app.new_admin_enterprise_group_path, :icon => 'add', :id => 'admin_new_enterprise_group_link' - %br.clear/ += content_for :page_title do + Enterprise Groups -%h1 Enterprise Groups += content_for :page_actions do + %li#new_enterprise_group_link + = button_link_to "New Enterprise Group", main_app.new_admin_enterprise_group_path, :icon => 'add', :id => 'admin_new_enterprise_group_link' %table.index#listing_enterprise_groups %thead diff --git a/app/views/admin/enterprises/index.html.erb b/app/views/admin/enterprises/index.html.erb index b2143c97c3..3fd36a6496 100644 --- a/app/views/admin/enterprises/index.html.erb +++ b/app/views/admin/enterprises/index.html.erb @@ -1,13 +1,13 @@ -
- -
-
+<% content_for :page_title do %> + Enterprises +<% end %> + +<% content_for :page_actions do %> + +<% end %> -

Enterprises

<%= form_for @enterprise_set, :url => main_app.bulk_update_admin_enterprises_path do |f| %> diff --git a/app/views/admin/order_cycles/index.html.haml b/app/views/admin/order_cycles/index.html.haml index 570d23f677..328d56d5aa 100644 --- a/app/views/admin/order_cycles/index.html.haml +++ b/app/views/admin/order_cycles/index.html.haml @@ -1,10 +1,11 @@ -.toolbar{'data-hook' => "toolbar"} - %ul.actions - %li - = button_link_to "New Order Cycle", main_app.new_admin_order_cycle_path, :icon => 'add', :id => 'admin_new_order_cycle_link' - %br.clear/ += content_for :page_title do + Order Cycles + += content_for :page_actions do + %li#new_order_cycle_link + = button_link_to "New Order Cycle", main_app.new_admin_order_cycle_path, :icon => 'add', :id => 'admin_new_order_cycle_link' + -%h1 Order Cycles = form_for @order_cycle_set, :url => main_app.bulk_update_admin_order_cycles_path do |f| %table.index#listing_order_cycles