<% if @users and not @users.empty? %>
<table class="users" border="0" cellpadding="5" cellspacing="1">
  <tr class="header">
    <th>Imi i nazwisko</th> <th>Wiek</th> <th>Pe</th> <th>Miejsce pobytu</th>
  </tr>
  <% @users.each do |user| %>
  <tr class="<%= cycle('odd', 'even') %>">
    <td><%= link_to user.name, profile_for(user) %></td>
    <td><%= user.spec.age %></td>
    <td><%= user.spec.gender %></td>
    <td><%= user.spec.location %></td>
  </tr>
  <% end %>
</table>
<% end %>

