mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-28 05:21:19 +00:00
24 lines
505 B
Text
24 lines
505 B
Text
<h1>Listing maps</h1>
|
|
|
|
<table class="data">
|
|
<tr>
|
|
<th>Name</th>
|
|
<th>Download</th>
|
|
<th>Options</th>
|
|
</tr>
|
|
|
|
<% @maps.each do |map| %>
|
|
<tr class="<%= cycle('even', 'odd') %>">
|
|
<td><%= namelink map %></td>
|
|
<td><%= h map.download %></td>
|
|
<td>
|
|
<%= link_to 'Edit', edit_map_path(map) %>
|
|
<%= link_to 'Destroy', map, :confirm => 'Are you sure?', :method => :delete %>
|
|
</td>
|
|
</tr>
|
|
<% end %>
|
|
</table>
|
|
|
|
<br />
|
|
|
|
<%= link_to 'New map', new_map_path %>
|