Sha256: 0f00cf24b6aa20fb0504d5562085a5d449e256e7d8118a7c3e622fe55c40627b

Contents?: true

Size: 1.22 KB

Versions: 4

Compression:

Stored size: 1.22 KB

Contents

section.main_content-header
  .main_content-header-wrapper
    h1 Users
    .main_content-header-save
      a.add-button href=new_user_path Add User

== render 'flash_messages'

.main_content-sections
  section.main_content-section
    .main_content-section-area
      table.main_table-sort_columns.index_table
        thead
          tr
            th Name
            th Email
            th Role
            th Last Logged In
            th.main_table-header-live data-sorter="false" Active
            th.main_table-header-delete data-sorter="false" Delete

        tbody
          - @users.each do |user|
            tr id="fae_user_#{user.id}"
              td.main_table-description-item
                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.main_table-delete
                - unless current_user == user
                  = link_to user, method: :delete, data: { confirm: t('fae.delete_confirmation') }, class: 'main_table-action'
                    span.icon-delete_x

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fae-rails-1.2.5 app/views/fae/users/index.html.slim
fae-rails-1.2.4 app/views/fae/users/index.html.slim
fae-rails-1.2.3 app/views/fae/users/index.html.slim
fae-rails-1.2.2 app/views/fae/users/index.html.slim