%#
# @file
# Code to display a map
# /maps/:id
#%>
<% content_for :title, @map.name + " | Metamaps" %>
<% if (@map.permission == "commons" && authenticated?) || @map.user == user %>
Editing Map:
<% else %>
Viewing Map:
<% end %>
<%= @map.name %>
<% if (@map.permission == "commons" && authenticated?) || @map.user == user %>
<%= link_to "[edit]", edit_map_path(@map) %>
<% end %>
<% if authenticated? %>
<%= render :partial => 'newtopic' %>
<%= render :partial => 'newsynapse' %>
<%= render :partial => 'maps/new' %>
<% end %>
<%= render :partial => 'main/find' %>