Sha256: caf49dfe30322ec41bad488a4967afaffb8a13db485719b292eb2e02e5a70c3e
Contents?: true
Size: 661 Bytes
Versions: 2
Compression:
Stored size: 661 Bytes
Contents
.filters = link_to "Nieuwe gebruiker", spina.new_admin_user_path, class: 'button button-primary', data: {icon: 't'} .table-container %table.table %thead %tr %th Naam %th Rol %th Laatst ingelogd %th %tbody - @users.each do |user| %tr %td= link_to user, spina.edit_admin_user_path(user) %td= user.admin? ? "Beheerder" : "Gebruiker" %td - if user.last_logged_in.present? = time_ago_in_words(user.last_logged_in) + " geleden" %td= link_to "Bewerken", spina.edit_admin_user_path(user), class: 'button button-small', data: {icon: 'q'}
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spina-0.6.12 | app/views/spina/admin/users/index.html.haml |
spina-0.6.11 | app/views/spina/admin/users/index.html.haml |