Sha256: a8c28a29c41fffbd8dfca12af6f1cf44d02665c7cc3d16c1080047c92838fa9f
Contents?: true
Size: 545 Bytes
Versions: 4
Compression:
Stored size: 545 Bytes
Contents
-# Partial for a user list as shown to admins. -# origin: RM - if @users.present? %table.grid %tr %th= User.human_attribute_name :username %th= User.human_attribute_name :full_name %th= User.human_attribute_name :email - for user in @users %tr - icon_name = user.locked? ? :lock : :edit %td= link_to(icon(icon_name, user.username), [:edit, :admin, user]) %td= maybe_blank(user.full_name) %td= maybe_blank(user.email) = pagination @users - else .none No users found.
Version data entries
4 entries across 4 versions & 1 rubygems