<%# Requires parameter efforts %>

<table class="table table-condensed table-striped">
  <thead>
  <tr>
    <th><%= "#{@presenter.full_name}'s efforts:" %></th>
    <th>From</th>
    <th>Date</th>
    <th class="text-right">Finish Time</th>
    <% if current_user&.admin? %>
      <th class="text-right">Actions</th>
    <% end %>
  </tr>
  </thead>
  <tbody>
  <% efforts.each do |effort| %>
    <tr>
      <td><strong><%= link_to effort.event.name, effort_path(effort) %></strong></td>
      <td><%= effort.state_and_country %></td>
      <td><%= l(effort.event.scheduled_start_time.to_date, format: :full_with_weekday) %></td>
      <td class="text-right"><%= text_with_status_indicator(effort.finish_status, effort.data_status, data_type: :effort_time_data) %></td>
      <% if current_user&.admin? %>
        <td class="text-right"><%= link_to "Disassociate",
                                           effort_path(effort, effort: {person_id: nil}, button: :disassociate),
                                           method: :patch,
                                           class: "btn btn-xs btn-danger" %></td>
      <% end %>
    </tr>
  <% end %>
  </tbody>
</table>

<%# Requires parameter efforts %>

<table class="table table-condensed table-striped">
  <thead>
  <tr>
    <th><%= "#{@presenter.full_name}'s efforts:" %></th>
    <th>From</th>
    <th>Age</th>
    <th>Date</th>
    <th class="text-right">Finish Time</th>
    <% if current_user&.admin? %>
      <th class="text-right">Actions</th>
    <% end %>
  </tr>
  </thead>
  <tbody>
  <% efforts.each do |effort| %>
    <tr>
      <td><strong><%= link_to effort.event.name, effort_path(effort) %></strong></td>
      <td><%= effort.state_and_country %></td>
      <td><%= effort.age %></td>
      <td><%= l(effort.event.scheduled_start_time.to_date, format: :full_with_weekday) %></td>
      <td class="text-right"><%= text_with_status_indicator(effort.finish_status, effort.data_status, data_type: :effort_time_data) %></td>
      <% if current_user&.admin? %>
        <td class="text-right"><%= link_to "Disassociate",
                                           effort_path(effort, effort: {person_id: nil}, button: :disassociate),
                                           method: :patch,
                                           class: "btn btn-xs btn-danger" %></td>
      <% end %>
    </tr>
  <% end %>
  </tbody>
</table>

Add age to person show efforts table
Add age to person show efforts table
