ensl.org/app/views/users/_teams.html.erb

23 lines
No EOL
378 B
Text

<h3>
Team History
</h3>
<table class="data">
<tr>
<th>Date Joined - Date Left</th>
<th>Team</th>
</tr>
<% @user.teamers.past.each do |teamer| %>
<tr>
<td>
<%= longdate teamer.created_at %>
-
<%= longdate teamer.updated_at %>
</td>
<td>
<%= namelink teamer.team %>
</td>
</tr>
<% end %>
</table>