<%= notice %>

<%= t 'members.index.title' %>

<%= link_to t('members.index.actions.new'), new_member_path %> <%= form_with url: members_path, method: :get do |form| %> <%= form.text_field :q %> <%= form.select :status, %w[ any active passive pending expired cancelled ], selected: params[:status] %> <%= form.select :category, %w[ any student employed unemployed retired ], selected: params[:category], multiple: true %> <%= form.submit 'Search', name: '' %> <% if params[:q].present? || params[:status].present? || params[:category].present? %> <%= link_to t('members.index.actions.clear_search'), members_path %> <% end %> <% end %> <% @members.each do |member| %> <% end %>
<%= link_to_current_with_sort t('members.attributes.number'), 'number.asc' %> <%= link_to_current_with_sort t('members.attributes.status'), 'status.asc' %> <%= link_to_current_with_sort t('members.attributes.email'), 'email.asc' %> <%= link_to_current_with_sort t('members.attributes.display_name'), 'display_name.asc' %> <%= link_to_current_with_sort t('members.attributes.joined_on'), 'joined_on.asc' %> <%= link_to_current_with_sort t('members.attributes.expires_on'), 'expires_on.asc' %> <%= t('members.index.actions.title') %>
<%= member.number %> <%= member_status(member.status) %> <%= member.email %> <%= member.display_name %> <%= member.joined_on %> <%= member.expires_on %> <%= link_to t('members.index.actions.show'), member %> | <%= link_to t('members.index.actions.edit'), edit_member_path(member) %> | <%= link_to t('members.index.actions.new_contribution'), new_member_contribution_path(member) %>