<%= t('members.new.title') %>

<%= form_with(model: @member) do |form| %> <% if @member.errors.any? %>

<%= pluralize(@member.errors.count, "error") %> prohibited this member from being saved:

<% end %>
<%= form.text_field :display_name, required: true %>
<%= form.text_field :legal_name, required: true %>
<%= form.text_field :pronouns %>
<%= form.email_field :email, required: true %>
<%= form.select :category, %w{student retired unemployed employed}, { include_blank: true }, { required: true } %>
<%= form.text_field :identification_number %>
<%= form.text_area :address %>
<%= form.check_box :wants_mailing_list %>
<%= form.check_box :prefers_postal %>
<%= form.submit %>
<% end %>