# of Topics: <%= @map.items.count %>
# of Synapses: <%= @map.synapses.count %>
<% if (@map.permission == "commons" && authenticated?) || @map.user == user %> <%= form_for @map, :url => savelayout_path(@user,@map), :html => { :class => "saveMapLayout", :id => "saveMapLayout"}, remote: true do |form| %> <%= form.hidden_field "coordinates", :value => "" %> <%= form.submit "Save Layout", class: "saveLayout", id: "saveLayout" %> <% end %> <% end %><%= @map.desc %>
Permissions: <%= @map.permission %>