1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-27 21:54:27 +01:00
fab-manager/app/views/api/members/export_members.xls.erb

25 lines
575 B
Plaintext
Raw Normal View History

2015-05-05 03:10:25 +02:00
<table border="1">
<tr>
<th>ID</th>
<th>Nom</th>
<th>Prénom</th>
<th>Email</th>
<th>Genre</th>
<th>Age</th>
<th>Tel.</th>
<th>Type utilisateur</th>
</tr>
<% @datas.each do |data| %>
<tr>
<td><%= data.id %></td>
<td><%= data.profile.last_name %></td>
<td><%= data.profile.first_name %></td>
<td><%= data.email %></td>
<td><%= data.profile.gender ? 'Homme' : 'Femme' %></td>
<td><%= data.profile.age %></td>
<td><%= data.profile.phone %></td>
<td><%= data.group.name %></td>
</tr>
<% end %>
</table>