Sha256: 10e31f0045989deaee69dcd435e0c1229ed003275515424af29d2ee0860f09f4
Contents?: true
Size: 891 Bytes
Versions: 1
Compression:
Stored size: 891 Bytes
Contents
.filters = link_to spina.new_admin_user_path, class: 'button button-primary' do = icon('plus') = t('spina.users.new') .table-container %table.table %thead %tr %th= Spina::User.human_attribute_name :name %th= Spina::User.human_attribute_name :role %th= Spina::User.human_attribute_name :last_logged_in %th %tbody - @users.each do |user| %tr %td= link_to user, spina.edit_admin_user_path(user) %td= user.admin? ? Spina::User.human_attribute_name(:admin) : Spina::User.human_attribute_name(:user) %td - if user.last_logged_in.present? = time_ago_in_words(user.last_logged_in) + " #{t('spina.ago')}" %td = link_to spina.edit_admin_user_path(user), class: 'button button-small' do = icon('pencil') = t('spina.edit')
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spina-0.6.25 | app/views/spina/admin/users/index.html.haml |