app/views/admin/members/index.html.haml
%p
All users
|
= link_to("Active organisations", active_organisations_admin_members_path)
|
= link_to("Organisations awaiting registration", proposed_organisations_admin_members_path)
%h2 All users
%table.users
%thead
%tr
%th Name
%th Email
%th Organisation
%th Last login
- @members.each do |member|
%tr
%td= member.name
%td= member.email
%td= member.organisation_name
%td= member.last_logged_in_at