<commit_before><div id="" class="nav grid_12">
    <%= link_to "< Back to Farm", @farm %>
    <div class="nav_divider"/>
</div>

<div id="" class="grid_12 alpha">

  <p style="color: green"><%= flash[:notice] %></p>

  <h1>Listing members</h1>

  <table class="simple">
    <tr>
      <th>Last name</th>
      <th>First name</th>
      <th>Neighborhood</th>
      <th>Email address</th>
      <th>Phone number</th>
      <th>Joined on</th>
    </tr>

  <% @members.each do |member| %>
    <tr>
      <td><%=h member.last_name %></td>
      <td><%=h member.first_name %></td>
      <td><%=h member.neighborhood %></td>
      <td><%=h member.email_address %></td>
      <td><%=h member.phone_number %></td>
      <td><%=h member.joined_on %></td>
      <td><%= link_to 'Show', member_path(member, :farm_id => @farm.id) %></td>
      <td><%= link_to 'Edit', edit_member_path(member, :farm_id => @farm.id) %></td>
      <td><%= link_to 'Destroy', {:action => "destroy", :id => member.id, :farm_id => @farm.id}, :confirm => 'Are you sure?', :method => :delete %></td>

    </tr>
  <% end %>
  </table>

<br />

<%= link_to 'New member', new_member_path(:farm_id => @farm.id) %><commit_msg>Members now have optional alternate email and address<commit_after><div id="" class="nav grid_12">
    <%= link_to "< Back to Farm", @farm %>
    <div class="nav_divider"/>
</div>

<div id="" class="grid_12 alpha">

  <p style="color: green"><%= flash[:notice] %></p>

  <h1>Listing members</h1>
  <h4><%= link_to '(New member)', new_member_path(:farm_id => @farm.id) %></h4>  
  <table class="simple">
    <tr>
      <th>Last name</th>
      <th>First name</th>
      <th>Neighborhood</th>
      <th>Email address</th>
      <th>Alternate email</th>
      <th>Phone number</th>
      <th>Address</th>
      <th>Joined on</th>
    </tr>

  <% @members.each do |member| %>
    <tr>
      <td><%=h member.last_name %></td>
      <td><%=h member.first_name %></td>
      <td><%=h member.neighborhood %></td>
      <td><%=h member.email_address %></td>
      <td><%=h member.alternate_email %></td>
      <td><%=h member.phone_number %></td>
      <td><%=h member.address %></td>
      <td><%=h member.joined_on %></td>
      <td><%= link_to 'Show', member_path(member, :farm_id => @farm.id) %></td>
      <td><%= link_to 'Edit', edit_member_path(member, :farm_id => @farm.id) %></td>
      <td><%= link_to 'Destroy', {:action => "destroy", :id => member.id, :farm_id => @farm.id}, :confirm => 'Are you sure?', :method => :delete %></td>

    </tr>
  <% end %>
  </table>

{'fraction_non_alphanumeric': 0.24059561128526646, 'fraction_numerical': 0.0054858934169279, 'mean_word_length': 3.1377633711507293, 'pattern_counts': {'":': 0, '<': 134, '<?xml version=': 0, '>': 148, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7368826', 'n_tokens_mistral': 1040, 'n_tokens_neox': 983, 'n_words': 215}