metamaps--metamaps/app/views/maps/show.xls.erb
2015-03-01 13:13:52 -05:00

18 lines
370 B
Text

<table>
<tr>
<th>ID</th>
<th>Name</th>
<th>Metacode</th>
<th>Username</th>
<th>Permission</th>
</tr>
<% @map.topics.each do |topic| %>
<tr>
<td><%= topic.id %></td>
<td><%= topic.name %></td>
<td><%= topic.metacode.name %></td>
<td><%= topic.user.name %></td>
<td><%= topic.permission %></td>
</tr>
<% end %>
</table>