= render partial: "shared/flash_messages", flash: flash
h1 Users
#admin-users-list
  .row
    ul#admin-button-bar
      li= link_to 'Invite new user', new_user_invitation_path, {class: 'button-secondary'}
  table.table
    thead
      tr
        th Name
        th Role
        th Last Sign in
        th Status
    tbody
      - @users.each do |user|
        tr
          td= link_to user.name, user_path(user)
          td= link_to user.roles, user_path(user)
          td
            - if user.current_sign_in_at.nil?
              | never active
            - else
              = time_ago_in_words(user.current_sign_in_at) unless user.current_sign_in_at.nil?
          td= render partial: 'shared/status', object: user
          td.edit= link_to 'Edit', edit_user_path(user)
  .pagination-row.bottom
    .page-entries= will_paginate @users

= render partial: "shared/flash_messages", flash: flash
h1 Users
#admin-users-list
  .row
    ul#admin-button-bar
      li= link_to 'Invite new user', new_user_invitation_path, {class: 'button-secondary'}
  table.table
    thead
      tr
        th Name
        th Role
        th Last Sign in
        th Status
    tbody
      - @users.each do |user|
        tr
          td= link_to user.name, user_path(user)
          td= link_to user.roles, user_path(user)
          td
            - if user.current_sign_in_at.nil?
              | never active
            - else
              = time_ago_in_words(user.current_sign_in_at) unless user.current_sign_in_at.nil?
          td= render partial: 'shared/status', object: user
          td.edit= link_to 'Edit', edit_user_path(user)

Remove pagination from user admin page.
Remove pagination from user admin page.


ministryofjustice/parliamentary-questions,ministryofjustice/parliamentary-questions,ministryofjustice/parliamentary-questions,ministryofjustice/parliamentary-questions,ministryofjustice/parliamentary-questions