%h2= t(:all_users)

= render 'admin/nav'

.right
  = link_to bootstrap_icon('plus') + t(:new_user), new_admin_user_path, :class => "add_new_button btn primary"

.btn-group
  = link_to "Unlocked", admin_users_path, :class => 'btn active'
  = link_to "Locked", admin_locked_users_path, :class => 'btn'
  = link_to "Unlocked Clients", admin_unlocked_clients_path, :class => 'btn'
  = link_to "Locked Clients", admin_locked_clients_path, :class => 'btn'

= render "users_table", users: @users

%h2= t(:all_users)

= render 'admin/nav'

.right
  = link_to bootstrap_icon('plus') + t(:new_user), new_admin_user_path, :class => "add_new_button btn primary"

.btn-group
  = link_to "Unlocked", admin_users_path, :class => 'btn active'
  = link_to "Locked", admin_locked_users_path, :class => 'btn'
  = link_to "Unlocked Clients", admin_unlocked_clients_path, :class => 'btn'
  = link_to "Locked Clients", admin_locked_clients_path, :class => 'btn'

= render "users_table", :users => @users

Fix 1.9-ism that broke travis builds for 1.8 mode
Fix 1.9-ism that broke travis builds for 1.8 mode
