d834b81003
git-subtree-dir: map-mash git-subtree-mainline:eacc351b17
git-subtree-split:7f16409d12
20 lines
389 B
Plaintext
20 lines
389 B
Plaintext
<h1>Listing maps</h1>
|
|
|
|
<table>
|
|
<tr>
|
|
<th>Name</th>
|
|
</tr>
|
|
|
|
<% @maps.each do |map| %>
|
|
<tr>
|
|
<td><%=h map.name %></td>
|
|
<td><%= link_to 'Show', map %></td>
|
|
<td><%= link_to 'Edit', edit_map_path(map) %></td>
|
|
<td><%= link_to 'Destroy', map, :confirm => 'Are you sure?', :method => :delete %></td>
|
|
</tr>
|
|
<% end %>
|
|
</table>
|
|
|
|
<br />
|
|
|
|
<%= link_to 'New map', new_map_path %> |