Sha256: cea77cd6adb25a4ebfe5b32146328b45664b2aa90215098dd3bfa18c6f3a9907

Contents?: true

Size: 797 Bytes

Versions: 9

Compression:

Stored size: 797 Bytes

Contents

- @new_path = new_user_path
== render 'fae/shared/index_header', title: 'Users', new_button: true, button_text: 'Add User', breadcrumbs: false

main.content
  table.js-sort-column
    thead
      tr
        th Name
        th Email
        th Role
        th Last Logged In
        th.-action data-sorter="false" Active
        th.-action data-sorter="false"

    tbody
      - @users.each do |user|
        tr id="fae_user_#{user.id}"
          td: a href=edit_user_path(user) #{user.first_name} #{user.last_name}
          td = user.email
          td = user.role.name
          td = fae_date_format user.last_sign_in_at if user.last_sign_in_at.present?
          td = attr_toggle user, :active unless current_user == user
          td = fae_delete_button user, user unless current_user == user

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
fae-rails-1.7.1 app/views/fae/users/index.html.slim
fae-rails-1.7.0 app/views/fae/users/index.html.slim
fae-rails-1.6.0 app/views/fae/users/index.html.slim
fae-rails-1.5.1 app/views/fae/users/index.html.slim
fae-rails-1.5.0 app/views/fae/users/index.html.slim
fae-rails-1.4.1 app/views/fae/users/index.html.slim
fae-rails-1.4.0 app/views/fae/users/index.html.slim
fae-rails-1.3.1 app/views/fae/users/index.html.slim
fae-rails-1.3.0 app/views/fae/users/index.html.slim