Sha256: cbb6da78ddbbcb1d109d64b8a8b0a82dbdd93de35154563b42ff1e5fb41fb949

Contents?: true

Size: 891 Bytes

Versions: 3

Compression:

Stored size: 891 Bytes

Contents

- @new_path = new_user_path
== render 'fae/shared/index_header', title: 'Users', new_button: true, button_text: t('fae.user.add_user'), breadcrumbs: false

main.content
  table.js-sort-column
    thead
      tr
        th = t('fae.common.name')
        th = t('fae.user.email')
        th = t('fae.user.role')
        th = t('fae.user.last_login')
        th.-action-wide data-sorter="false" = t('fae.user.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 = fae_toggle user, :active unless current_user == user
          td = fae_delete_button user, user unless current_user == user

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fae-rails-3.0.0 app/views/fae/users/index.html.slim
fae-rails-2.2.0 app/views/fae/users/index.html.slim
fae-rails-2.1.0 app/views/fae/users/index.html.slim